[Koha-bugs] [Bug 5741] New: Extra comma causes JavaScript error in Internet Explorer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 11 18:40:01 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5741

           Summary: Extra comma causes JavaScript error in Internet
                    Explorer
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5
         Component: Circulation
        AssignedTo: oleonard at myacpl.org
        ReportedBy: oleonard at myacpl.org
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com
   Estimated Hours: 0.0


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

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list