Bug 5778

Summary: Modify DHTMLcalendar function to work with jQueryUI datepicker
Product: Koha Reporter: Owen Leonard <oleonard>
Component: Staff interfaceAssignee: Paul Poulain <paul.poulain>
Status: CLOSED INVALID QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: P5 - low CC: gmcharlt, indradg
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 5481, 7119, 7182    

Description Owen Leonard 2011-02-18 21:08:09 UTC
The current calendar widget gets passed a TMPL variable, <!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->, with the correct dateformat according to Koha's system preference. We can do the same with the jQueryUI widget, but the variable contents must be different. The current widget looks for a string like:

%m/%d/%Y 

The jQueryUI widget wants something like:

m/d/Y
Comment 1 Paul Poulain 2011-11-06 14:36:20 UTC
Owen, on bug 7182, you say:

"In fact my work on Bug 5481 has already done all the work to replace the
current calendar widget with the jQueryUI one."

And bug 5481 is related to "replace YUI lib by Jquery lib" + the 5481 does not have a "needs signoff" status of any kind of a patch attached (i've seen the comment 1 of bug 5481 "I have a git branch available with my progress".

Could you give some details ? Is there something ready to test & validate & push ? where ?

thx
Comment 2 Owen Leonard 2011-11-06 18:04:18 UTC
http://gitorious.org/koha-dev/koha-dev/commits/ip-bug-5481-tt-jquery-ui-2011-04-12

JQueryUI still does not have a replacement for YUI menus and menu-buttons, so it's not possible to eliminate YUI yet.