summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-15 14:52:09 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-15 14:52:09 +0200
commitc55addfa6422cd6fd3886f914b71139c4dd0edcc (patch)
tree2c5406fb382e855d74d939ff90d4d5b0fb50d316 /modules/libpref
parent054dde272820f12b4f3c60ee4c8b7ede47126aa6 (diff)
downloadUXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar
UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar.gz
UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar.lz
UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.tar.xz
UXP-c55addfa6422cd6fd3886f914b71139c4dd0edcc.zip
Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 59f8de9ac..e3e23550a 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1179,10 +1179,13 @@ pref("dom.forms.number", true);
// platforms which don't have a color picker implemented yet.
pref("dom.forms.color", true);
-// Support for input type=date, time, month, week and datetime-local. By
-// default, disabled.
+// Support for input type=date and type=time. By default, disabled.
pref("dom.forms.datetime", false);
+// Support for input type=month, type=week and type=datetime-local. By default,
+// disabled.
+pref("dom.forms.datetime.others", false);
+
// Enable time picker UI. By default, disabled.
pref("dom.forms.datetime.timepicker", false);