Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1447 closed enhancement (fixed)

More additions to DatePicker and a minor patch to DDDP

Reported by: tk Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: datepicker dropdowndatepicker Cc: ktiedt@…
Blocked by: Blocking:

Description

Added disabledItems to DP
disabledItems format: ['YYYY-mm-dd','weekends','weekdays',2,3]
dates are always in RFC 3339 format, and anything that is a number is a weekday.... 0==sunday..6==saturday

Added date='today' to DDDP so you can have it fill in todays date and removed some uneeded calls to functions

Attachments (1)

DatePicker_and_DDDP_fixes_and_additions.diff (15.6 KB) - added by tk 8 years ago.
ok.. newest revision + my fixes + lots of clean up, includes date="today" for DDDP

Download all attachments as: .zip

Change History (5)

comment:1 Changed 8 years ago by tk

forgot to mention that this also includes disabling UI controls as needed

comment:2 Changed 8 years ago by tk

removied disabledItems per Bill, put a comment where the filter function should get called (still working on implementing)

Fixed problem where staticDisplay wrapping around end of a month would allow the UI to update (this now means that clicking a day will NEVER redraw the UI, it just updates the classnames.

I believe that's everything... ohh and I moved a good bit of stuff out of initUI into preInit to allow for the old calendar behavior (1st saturday == curMonth) to work properly...

Changed 8 years ago by tk

ok.. newest revision + my fixes + lots of clean up, includes date="today" for DDDP

comment:3 Changed 8 years ago by tk

  • Resolution set to fixed
  • Status changed from new to closed

closed with revision 5743
-Karl

comment:4 Changed 7 years ago by anonymous

  • Milestone 0.4 deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.