summaryrefslogtreecommitdiffstats
path: root/toolkit/modules
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-14 14:45:58 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-14 14:45:58 +0100
commit73c6f6b3deb95fff270898dfb3e48c116f714d5c (patch)
tree175c24964f6ccad4e1649171062d41ca7a3e0777 /toolkit/modules
parent8a15fd8d24e4373f462046b46fbe8558f57f3403 (diff)
downloadUXP-73c6f6b3deb95fff270898dfb3e48c116f714d5c.tar
UXP-73c6f6b3deb95fff270898dfb3e48c116f714d5c.tar.gz
UXP-73c6f6b3deb95fff270898dfb3e48c116f714d5c.tar.lz
UXP-73c6f6b3deb95fff270898dfb3e48c116f714d5c.tar.xz
UXP-73c6f6b3deb95fff270898dfb3e48c116f714d5c.zip
Bug 1320225: [DateTimeInput] Integration of input type=date input box with picker (part 2)
Diffstat (limited to 'toolkit/modules')
-rw-r--r--toolkit/modules/DateTimePickerHelper.jsm5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolkit/modules/DateTimePickerHelper.jsm b/toolkit/modules/DateTimePickerHelper.jsm
index 8ad5204f4..769ae0094 100644
--- a/toolkit/modules/DateTimePickerHelper.jsm
+++ b/toolkit/modules/DateTimePickerHelper.jsm
@@ -97,13 +97,10 @@ this.DateTimePickerHelper = {
// Called when picker value has changed, notify input box about it.
updateInputBoxValue: function(aEvent) {
- // TODO: parse data based on input type.
- const { hour, minute } = aEvent.detail;
- debug("hour: " + hour + ", minute: " + minute);
let browser = this.weakBrowser ? this.weakBrowser.get() : null;
if (browser) {
browser.messageManager.sendAsyncMessage(
- "FormDateTime:PickerValueChanged", { hour, minute });
+ "FormDateTime:PickerValueChanged", aEvent.detail);
}
},