[Koha-bugs] [Bug 11878] Eliminate use of deprecated jQuery .toggle() method usage

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 4 20:12:47 CET 2014


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

--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
(In reply to wajasu from comment #3)
> Did a qucik search to see if other .toggle usage was present, and got these
> results, so if they don't need to be addressed, we could change the status
...
> ./koha-tmpl/intranet-tmpl/prog/en/js/acq.js:872:    $("#plan
> td:nth-child("+show+"),#plan th:nth-child("+show+")").toggle();

No, these do not need to be addressed: '.toggle(function, function, ... )
removed: This is the "click an element to run the specified functions"
signature of .toggle(). It should not be confused with the "change the
visibility of an element" of .toggle() which is not deprecated.'

My patch fixes all the instances which I know to be problematic.

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


More information about the Koha-bugs mailing list