Bug 8547 - JS error in star ratings breaks IE
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 1 Aug 2012 12:23:14 +0000 (14:23 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 29 Aug 2012 13:16:13 +0000 (15:16 +0200)
Writing code with best practices in mind breaks IE. Thanks Internet
Explorer. Now go DiaF.

Signed-off-by: Marc Veron <veron@veron.ch>
Tested with with IE 7.0.5730.13 on Windows XP, no JS errors, stars display and behave as expected

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(Aslo tested it does not break FF)

koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt

index 54ed48e..75f16aa 100644 (file)
@@ -112,7 +112,7 @@ $(function () {
             borrowernumber: "[% borrowernumber %]",
             biblionumber: "[% biblionumber %]",
             rating_value: value,
-            auth_error: value,
+            auth_error: value
           }, function (data) {
 
             if (data.auth_status != 'ok') {