A trailing comma on the last item causes an error: Calendar.setup( { inputField : "newduedate", ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->", button : "newduedate_button", disableFunc : validate1, dateStatusFunc : validate1, } ); See: http://wiki.koha-community.org/wiki/Coding_Guidelines#JavaScript
Created attachment 3130 [details] [review] Proposed fix
Created attachment 3154 [details] [review] removes stray comma at end of js list in 8 files This one probably obsoletes the earlier proposed fix. It covers more cases.
Catalyst work on this item sponsored by Opus.
*** Bug 5762 has been marked as a duplicate of this bug. ***
Signed off and pushed, please test
This bug is mentioned in: Fix for Bug 5741 - Extra comma causes JavaScript error in Internet Explorer http://lists.koha-community.org/pipermail/koha-patches/2011-February/013834.html Bug 5741 - Extra comma causes JavaScript error in Internet Explorer http://lists.koha-community.org/pipermail/koha-patches/2011-February/013865.html