[Koha-bugs] [Bug 12295] Javascript error when merging authorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 20 21:01:00 CEST 2014


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 28376
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28376&action=edit
Bug 12295 - Javascript error when merging authorities

Attempting to merge authorities results in the following error:
Uncaught SyntaxError: Unexpected token u authorities-home.pl:284
    showMergingInProgress authorities-home.pl:284
    (anonymous function) authorities-home.pl:297
    o jquery.js:2
    p.fireWith jquery.js:2
    e.extend.ready jquery.js:2
    c.addEventListener.B

This appears to be an improper use of Javascript null vs undefined.
A variable can be null and defined at the same time. We should be
checking to see if the variable is defined, rather than null.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list