Bug 1505435 - Follow-up: Import Services.jsm. rs=bustage-fix DONTBUILD
authorJorg K <jorgk@jorgk.com>
Fri, 09 Nov 2018 21:29:48 +0100
changeset 33684 6c2e0403281d6cb7babeceaade2c54227363402a
parent 33683 38005533aabc57fce5b64a865d965fa64bea4bfe
child 33685 6624bbe8579165a2866c406f7e6822b7dbb3965d
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersbustage-fix
bugs1505435
Bug 1505435 - Follow-up: Import Services.jsm. rs=bustage-fix DONTBUILD
common/bindings/datetimepicker.xml
--- a/common/bindings/datetimepicker.xml
+++ b/common/bindings/datetimepicker.xml
@@ -144,16 +144,17 @@
         </body>
       </method>
 
       <method name="_init">
         <body/>
       </method>
 
       <constructor>
+        ChromeUtils.import("resource://gre/modules/Services.jsm");
         this._init();
 
         var cval = this.getAttribute("value");
         if (cval) {
           try {
             this.value = cval;
             return;
           } catch (ex) { }