From: Robin Sheat Date: Wed, 1 Aug 2012 12:23:14 +0000 (+0200) Subject: Bug 8547 - JS error in star ratings breaks IE X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=ee51b56625382a9e041582552b7e3f2f5a58bfe3;p=koha.git Bug 8547 - JS error in star ratings breaks IE Writing code with best practices in mind breaks IE. Thanks Internet Explorer. Now go DiaF. Signed-off-by: Marc Veron 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 (Aslo tested it does not break FF) --- diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 54ed48e959..75f16aae06 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -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') {