Bug 14668: (follow-up) JSON fails if single quotes are used
authorHector Castro <hector.hecaxmmx@gmail.com>
Thu, 22 Sep 2016 17:24:40 +0000 (11:24 -0600)
committerKyle M Hall <kyle@bywatersolutions.com>
Sun, 25 Sep 2016 15:39:50 +0000 (15:39 +0000)
Change single quotes to double quotes also add brackets to serial
enumeration.

To test follow previous test plan for intranet.
Fix double semicolon

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js

index cca2a28..f282aab 100644 (file)
@@ -228,7 +228,7 @@ $(document).ready(function() {
                         });
 
                         if ( oObj.enumchron ) {
-                            title += ' ' + oObj.enumchron;
+                            title += " (" + oObj.enumchron + ")";
                         }
 
                         title += "</a></span>";
@@ -504,7 +504,7 @@ $(document).ready(function() {
                             });
 
                             if ( oObj.enumchron ) {
-                                title += ' ' + oObj.enumchron;
+                                title += " (" + oObj.enumchron + ")";
                             }
 
                             title += "</a></span>";