Title: [134058] trunk/Source/WebCore
Revision
134058
Author
[email protected]
Date
2012-11-09 06:22:37 -0800 (Fri, 09 Nov 2012)

Log Message

Month/week picker should submit month/week string
https://bugs.webkit.org/show_bug.cgi?id=101744

Reviewed by Kent Tamura.

Month/week picker should submit month/week string and not yyyy-mm-dd.

No new tests. Test will be added in Bug 101555 and Bug 101556.

* Resources/pagepopups/calendarPicker.js:
(DaysTable.prototype._handleDayClick):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (134057 => 134058)


--- trunk/Source/WebCore/ChangeLog	2012-11-09 14:03:14 UTC (rev 134057)
+++ trunk/Source/WebCore/ChangeLog	2012-11-09 14:22:37 UTC (rev 134058)
@@ -1,3 +1,17 @@
+2012-11-09  Keishi Hattori  <[email protected]>
+
+        Month/week picker should submit month/week string
+        https://bugs.webkit.org/show_bug.cgi?id=101744
+
+        Reviewed by Kent Tamura.
+
+        Month/week picker should submit month/week string and not yyyy-mm-dd.
+
+        No new tests. Test will be added in Bug 101555 and Bug 101556.
+
+        * Resources/pagepopups/calendarPicker.js:
+        (DaysTable.prototype._handleDayClick):
+
 2012-11-07  Pavel Feldman  <[email protected]>
 
         Web Inspector: wrong output for empty object {}

Modified: trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js (134057 => 134058)


--- trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js	2012-11-09 14:03:14 UTC (rev 134057)
+++ trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js	2012-11-09 14:22:37 UTC (rev 134058)
@@ -1479,7 +1479,7 @@
  */
 DaysTable.prototype._handleDayClick = function(event) {
     if (event.target.classList.contains(ClassNames.Available))
-        this.picker.submitValue(event.target.dataset.submitValue);
+        this.picker.submitValue(this._rangeForNode(event.target).toString());
 };
 
 /**
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to