Bug 28723: Replace "No title" by an empty string

This is to be consistent with what is done in checkouts.js

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Julian Maurice 2022-05-31 11:36:37 +02:00 committed by Tomas Cohen Arazi
parent 35874fa380
commit 5a90eb17e6
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -138,7 +138,7 @@ $(document).ready(function() {
title = "<a href='/cgi-bin/koha/reserve/request.pl?biblionumber="
+ oObj.biblionumber
+ "'>"
+ (oObj.title ? oObj.title.escapeHtml() : __('No title'));
+ (oObj.title ? oObj.title.escapeHtml() : '');
$.each(oObj.subtitle, function( index, value ) {
title += " " + value.escapeHtml();