[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:07:51 CET 2014


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

--- Comment #3 from wajasu <matted-34813 at mypacks.net> ---
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 to
signed off, otherwise things will wait for further followup patches.
It may depend on the jquery update only needing to be done for OPAC.


12:45:28 {bug11878 %} ~/prj/kohaclone$ find . -name "*.js" -exec grep -Hn
".toggle()" {} \;

Some places where toggle is in our source tree after the 1st patch applied:

./koha-tmpl/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.js:1814:   
this.options.toggle && this.toggle()
./koha-tmpl/opac-tmpl/bootstrap/js/script.js:54:       
$(".menu-collapse").toggle();

./koha-tmpl/intranet-tmpl/prog/en/js/pages/batchMod.js:15:        $("#itemst
td:nth-child("+valCookie[i]+"),#itemst
th:nth-child("+valCookie[i]+")").toggle();
./koha-tmpl/intranet-tmpl/prog/en/js/pages/batchMod.js:29:  $("#itemst
td:nth-child("+hide+"),#itemst th:nth-child("+hide+")").toggle();
./koha-tmpl/intranet-tmpl/prog/en/js/pages/batchMod.js:65:  $("#itemst
td:nth-child("+show+"),#itemst th:nth-child("+show+")").toggle();
./koha-tmpl/intranet-tmpl/prog/en/js/acq.js:863:    $("#plan
td:nth-child("+hide+"),#plan th:nth-child("+hide+")").toggle();
./koha-tmpl/intranet-tmpl/prog/en/js/acq.js:872:    $("#plan
td:nth-child("+show+"),#plan th:nth-child("+show+")").toggle();

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


More information about the Koha-bugs mailing list