mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 06:21:49 +01:00
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:
parent
3e177ad67b
commit
18bb7ff16a
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue