@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -908,7 +908,13 @@ $(document).ready(function() { if ( oObj.author ) { title += ' by ' + oObj.author; } - title += ' ' + oObj.barcode + ''; + title += ' ' + + (oObj.barcode ? oObj.barcode.escapeHtml() : "") + + ''; return title; } --