From c0e31685173a107ce627fe11db2dc8ea9c2cf7e8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Dec 2017 12:54:14 +0000 Subject: [PATCH] Bug 19806 - Add classes to itemnotes in issues table To test: 1 - Checkout an item with both public and non-public notes 2 - Note the notes display and both have circ-hlt class 3 - Apply patch 4 - Ensure display has not changed 5 - Note notes now have classes 'item-note-public' and 'item-note-nonpublic' 6 - Sign off --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 9ec8d43..f3c05a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -258,7 +258,7 @@ $(document).ready(function() { if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { span_class = "circ-hlt"; } - title += " - " + oObj.itemnotes + ""; + title += " - " + oObj.itemnotes + ""; } if ( oObj.itemnotes_nonpublic ) { @@ -266,7 +266,7 @@ $(document).ready(function() { if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { span_class = "circ-hlt"; } - title += " - " + oObj.itemnotes_nonpublic + ""; + title += " - " + oObj.itemnotes_nonpublic + ""; } var onsite_checkout = ''; -- 2.1.4