[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
Sun Mar 16 15:13:40 CET 2014


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

--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 26378
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26378&action=edit
[PASSED QA] Bug 11878 - Eliminate use of deprecated jQuery .toggle() method
usage

jQuery's .toggle() method can no longer be used to trigger a pair of
specified functions. .toggle() can only be used to change the visibility
of an element. This patch fixes a few places in Koha where the
deprecated functionality was used.

To test, apply the patch and clear your browser cache.

- View the system preferences page in the staff client. Clicking a
  heading ("Appearance" under OPAC preferences, for instance) should
  collapse that section. Clicking again should expand it.

- View the MARC detail page for a record in the OPAC. Clicking the "view
  plain" link should display the plain MARC view. Clicking the "view
  labeled" view should return to the original view. Test in both prog
  and bootstrap themes.

Signed-off-by: wajasu <matted-34813 at mypacks.net>

Followed test plan. Works fine.
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Passes all tests and QA script, works as described.
No Javascript errors found.

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


More information about the Koha-bugs mailing list