[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 27 21:37:44 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12295
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28376|0 |1
is obsolete| |
--- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 28498
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28498&action=edit
[SIGNED-OFF] 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.
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
No test plan, no errors.
Test
1. search some authorities
2. clic merge, on browser dev console pops reported error message
'Unexpected token u authorities-home.pl...'
No way to marge auths
3. with pach applied, merging works again
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list