Closed (fixed)
Project:
Time Tracker
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2012 at 04:05 UTC
Updated:
25 May 2012 at 23:00 UTC
it was working, now stopped for no apparent reason. just has text entry option.
I've checked the view and reset it back to default etc
I've updated the date, calendar and jquery_ui modules with no success
Other date popups on the site are working ok
any idea's?
Comments
Comment #1
drclaw commentedSorry for the delay on this one. I'm looking into it right now. Had you updated time tracker, or any of the time tracker features before this happened?
Comment #2
drclaw commentedOkay this should be fixed now in the latest commit.
Just a quick explanation of what happened here. Before, we were checking if the jquery_ui module was enabled, then we manually added the jquery ui datepicker to the necessary elements. However, with recent changes involving date format handling in time tracker, I disabled the datepicker because the date formats weren't matching the ones set in the time tracker module. Anyway, instead, now, I'm checking if the date popup module is enabled. If it is, we'll use the date popup widget, otherwise it will be a textfield.
Hope this works for you!
Comment #3
drclaw commentedQuick change:
I had to add an option to the filter handler that forces you to choose the date popup as the "type". This was so I could support relative time frames as a default value for the date popup. So, you'll need to update your view filters if you want the date_popup to work (with the latest dev commit)