Reenable keyboard shortcuts for the date fields.

* Adds keyboard shortcuts to the passed in date field:
 *
 *   't'         input today's date
 *   '+' or '='  increment the date in the field by one day
 *   '-'         decrement the date in the field by one day
 *
 * If the calendar is visible, the shortcuts play nicely with it. If not,
 * they still work properly. Pressing '+' when no date is entered in the
 * field will set the date to tomorrow, and likewise '-' with no date
 * entered will set the date to yesterday.




git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@473 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-03-10 03:32:47 +00:00
parent 3e177ad67b
commit 18bb7ff16a

View file

@ -196,10 +196,9 @@ Calendar.setup = function (params) {
return false;
};
/* if (params.inputField) {
if (params.inputField) {
new DateDueKeyboardShortcutSupport(params.inputField, params.ifFormat, cal);
}
*/
return cal;
};