diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-14 14:03:55 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-14 14:03:55 +0100 |
commit | 631b690ac3fecb1406246237d282390283c77e2c (patch) | |
tree | cf9b65605e01017e64ef5fa5458771727157e3c8 /toolkit/content/widgets/timepicker.js | |
parent | c87dbe6922ec79f988744f5aab0cde1a166292e6 (diff) | |
download | UXP-631b690ac3fecb1406246237d282390283c77e2c.tar UXP-631b690ac3fecb1406246237d282390283c77e2c.tar.gz UXP-631b690ac3fecb1406246237d282390283c77e2c.tar.lz UXP-631b690ac3fecb1406246237d282390283c77e2c.tar.xz UXP-631b690ac3fecb1406246237d282390283c77e2c.zip |
Bug 1320225: [DateTimeInput] Integration of input type=date input box with picker (part 1)
Diffstat (limited to 'toolkit/content/widgets/timepicker.js')
-rw-r--r-- | toolkit/content/widgets/timepicker.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/content/widgets/timepicker.js b/toolkit/content/widgets/timepicker.js index 544032e9f..8c2fb89dd 100644 --- a/toolkit/content/widgets/timepicker.js +++ b/toolkit/content/widgets/timepicker.js @@ -206,7 +206,7 @@ function TimePicker(context) { // The panel is listening to window for postMessage event, so we // do postMessage to itself to send data to input boxes. window.postMessage({ - name: "TimePickerPopupChanged", + name: "PickerPopupChanged", detail: { hour, minute, @@ -248,11 +248,11 @@ function TimePicker(context) { */ handleMessage(event) { switch (event.data.name) { - case "TimePickerSetValue": { + case "PickerSetValue": { this.set(event.data.detail); break; } - case "TimePickerInit": { + case "PickerInit": { this.init(event.data.detail); break; } |