https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26585

            Bug ID: 26585
           Summary: Cataloguing interface throws JS errors on load
 Change sponsored?: Sponsored
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Browser compatibility
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Bug 8643 introduced the 'mandatory' default parameter into addbiblio.tt

function AreFieldsNotOk (mandatory = true) {

This works fine in Chrome and Firefox, but Internet Explorer 11 does not allow
default parameters and errors with: Expected ')'

See
https://stackoverflow.com/questions/42768964/proper-way-to-define-default-values-for-function-arguments-in-javascript/42769077

We should not use default parameters which error in IE, and instead set a
default value for mandatory inside the function body.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to