summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/nsBrowserGlue.js
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-16 08:30:04 -0400
committerGitHub <noreply@github.com>2018-04-16 08:30:04 -0400
commita557bfae78557c5134874683fc7a8121f6b5deb1 (patch)
tree357e7fac303646ee5aafd80e45ca6f5d36dfde4f /application/palemoon/components/nsBrowserGlue.js
parentba80720469e27d3d7ae6f1095b3c187207adc051 (diff)
parentf8086ef486f296515958d2254873b902fdab3db1 (diff)
downloadUXP-a557bfae78557c5134874683fc7a8121f6b5deb1.tar
UXP-a557bfae78557c5134874683fc7a8121f6b5deb1.tar.gz
UXP-a557bfae78557c5134874683fc7a8121f6b5deb1.tar.lz
UXP-a557bfae78557c5134874683fc7a8121f6b5deb1.tar.xz
UXP-a557bfae78557c5134874683fc7a8121f6b5deb1.zip
Merge pull request #178 from janekptacijarabaci/html_input_datetime_3
[PALEMOON] [Frontend vs Backend] HTML - input - datetime
Diffstat (limited to 'application/palemoon/components/nsBrowserGlue.js')
-rw-r--r--application/palemoon/components/nsBrowserGlue.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/palemoon/components/nsBrowserGlue.js b/application/palemoon/components/nsBrowserGlue.js
index cdb0b7522..c4205c2c5 100644
--- a/application/palemoon/components/nsBrowserGlue.js
+++ b/application/palemoon/components/nsBrowserGlue.js
@@ -35,6 +35,7 @@ Cu.import("resource://gre/modules/Services.jsm");
["OS", "resource://gre/modules/osfile.jsm"],
["LoginManagerParent", "resource://gre/modules/LoginManagerParent.jsm"],
["FormValidationHandler", "resource:///modules/FormValidationHandler.jsm"],
+ ["DateTimePickerHelper", "resource://gre/modules/DateTimePickerHelper.jsm"],
].forEach(([name, resource]) => XPCOMUtils.defineLazyModuleGetter(this, name, resource));
const PREF_PLUGINS_NOTIFYUSER = "plugins.update.notifyUser";
@@ -167,6 +168,7 @@ BrowserGlue.prototype = {
} catch (e) {
Cu.reportError("Could not end startup crash tracking in quit-application-granted: " + e);
}
+ DateTimePickerHelper.uninit();
break;
#ifdef OBSERVE_LASTWINDOW_CLOSE_TOPICS
case "browser-lastwindow-close-requested":
@@ -496,6 +498,8 @@ BrowserGlue.prototype = {
}
#endif
+ DateTimePickerHelper.init();
+
this._trackSlowStartup();
},