From 955df68b00991ce5a947add8182e905e2b1d551a Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 31 May 2022 11:36:37 +0200 Subject: [PATCH] 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 --- koha-tmpl/intranet-tmpl/prog/js/holds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index c422cfaf8eb..964528a33d5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -138,7 +138,7 @@ $(document).ready(function() { title = "" - + (oObj.title ? oObj.title.escapeHtml() : __('No title')); + + (oObj.title ? oObj.title.escapeHtml() : ''); $.each(oObj.subtitle, function( index, value ) { title += " " + value.escapeHtml(); -- 2.25.1