[PALEMOON] [Frontend vs Backend] HTML - input - datetime

Issue #162
This commit is contained in:
janekptacijarabaci 2018-04-15 17:55:14 +02:00 • committed by Roy Tam
commit a422978746
5 changed files with 41 additions and 14 deletions

View file

@ -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();
},