Bug 5778 - Modify DHTMLcalendar function to work with jQueryUI datepicker
Summary: Modify DHTMLcalendar function to work with jQueryUI datepicker
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Paul Poulain
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks: 5481 7119 7182
  Show dependency treegraph
 
Reported: 2011-02-18 21:08 UTC by Owen Leonard
Modified: 2014-12-07 20:02 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.