Bug 5184 [REVISED] Upgrade jQuery to the latest version (OPAC)
authorOwen Leonard <oleonard@myacpl.org>
Tue, 17 Apr 2012 14:53:41 +0000 (10:53 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 11 May 2012 09:22:41 +0000 (11:22 +0200)
commit806798dc66bd26f2d34feeb443b98bb160aaecaa
treec93a378c1fe3450b9b1094c125ff201ee4508b37
parentd1e3773e3b6bc83e4e7937b3c79c886770bc2c53
Bug 5184 [REVISED] Upgrade jQuery to the latest version (OPAC)

Upgrade jQuery in the OPAC.

To test: Try any JavaScript-dependent interaction
you can think of in the OPAC and watch for errors.

Revision updates the one syntax I've found so far in testing
which requires an update. Where we used to do this to
uncheck a checkbox:

$(foo).attr("checked","");

We should now use:

$(foo).removeAttr("checked");

As far as I can tell the old way will not generate an error
but neither will it work.

Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery.js
koha-tmpl/opac-tmpl/prog/en/modules/opac-messaging.tt