Koha/koha-tmpl/opac-tmpl
Owen Leonard 06026a7e29 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@mypacks.net>

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

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

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-26 19:25:11 +00:00
..
bootstrap Bug 11878 - Eliminate use of deprecated jQuery .toggle() method usage 2014-03-26 19:25:11 +00:00
ccsr Bug 11649 - Always use words "copy number" - opac prog 2014-02-18 23:52:10 +00:00
lib Bug 9916 - Use DataTables in the OPAC 2013-08-19 14:19:02 +00:00
prog Bug 11878 - Eliminate use of deprecated jQuery .toggle() method usage 2014-03-26 19:25:11 +00:00