[Koha-devel] Replacing YUI javascript libraries with jQueryUI

Owen Leonard oleonard at myacpl.org
Mon Nov 7 15:03:01 CET 2011


I see from the weekend traffic on Bugzilla that not everyone is aware
of the work I've been doing on Bug 5481:

Replace YUI JS libraries with Jquery UI
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5481

Over the last year I've been working  to replace all instances of YUI
js dependencies with jQueryUI-native functions. My hope was that
native jQueryUI could handle all the functions that YUI did. Among the
features which are integrated:

Date picker
Autocomplete
Tabs

So far so good, but one piece is lacking: while jQueryUI has a button
widget in their current release, there is still no native menu or
menu/button widget. YUI Menu is used in the OPAC in a couple of places
and on any page in the staff client which has a toolbar of buttons.

The jQueryUI menu widget has been in alpha for about as long as I've
been working on this branch, so this project has been stalled for a
while. I've been keeping the branch up to date and pushed to my repo
on Gitorious. Sorry to anyone following the link from Bug 5481, the
name of the branch changed:

http://gitorious.org/koha-dev/koha-dev/commits/ip-bug-5481-tt-jquery-ui-2011-04-12

I check this branch regularly and fix conflicts with master. As of
today it rebases cleanly for me, so it should be testable if anyone
would like to see it in action. Be sure to clear your browser cache or
shift-refresh to make sure the up-to-date js and CSS are loaded.

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org


More information about the Koha-devel mailing list