[Koha-bugs] [Bug 21819] Marc modification templates action always checks Regexp checkbox

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 20 16:41:45 CET 2018


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

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 82552
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82552&action=edit
Bug 21819: (QA follow-up) Replace onchange() in touched code

AFAIK we should not call document...onchange() and assume that it works.
Apparently, it does at least in some browsers. But we are not sure.
We could easily replace them here by the documented jQuery counterpart.

Note: If you try git grep -l -E "onchange\(" you will find some
occurrences in two libraries and only in one js file (this one).
We should replace all occurrences here; will open a new report for that.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Verified that the change event was triggered: span should expand/collapse.

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


More information about the Koha-bugs mailing list