Changeset 115785 in webkit


Ignore:
Timestamp:
May 1, 2012 8:27:06 PM (12 years ago)
Author:
tkent@chromium.org
Message:

Calendar Picker: Close the picker by ESC key
https://bugs.webkit.org/show_bug.cgi?id=85337

Reviewed by Kentaro Hara.

No new tests. Calendar picker is not testable in DRT yet.

  • Resources/calendarPicker.js:

(handleGlobalKey): Close the popup by ESC key.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r115784 r115785  
     12012-05-01  Kent Tamura  <tkent@chromium.org>
     2
     3        Calendar Picker: Close the picker by ESC key
     4        https://bugs.webkit.org/show_bug.cgi?id=85337
     5
     6        Reviewed by Kentaro Hara.
     7
     8        No new tests. Calendar picker is not testable in DRT yet.
     9
     10        * Resources/calendarPicker.js:
     11        (handleGlobalKey): Close the popup by ESC key.
     12
    1132012-05-01  Noel Gordon  <noel.gordon@gmail.com>
    214
  • trunk/Source/WebCore/Resources/calendarPicker.js

    r115783 r115785  
    11101110    } else if (key == "U+0044") { // 'd'
    11111111        global.yearMonthController.moveRelatively(event.shiftKey ? YearMonthController.PreviousTenYears : YearMonthController.NextTenYears);
    1112     }
     1112    } else if (key == "U+001B") // ESC
     1113        handleCancel();
    11131114}
    11141115
Note: See TracChangeset for help on using the changeset viewer.