Browse code

[tbird] BM-7600 Fix: next tb 45 compatibility, fix settings page broken

Nicolas Lascombes authored on 03/02/2016 10:18:07
Showing 2 changed files
... ...
@@ -27,7 +27,7 @@
27 27
 Components.utils.import("resource://bm/bmUtils.jsm");
28 28
 Components.utils.import("resource://bm/bmService.jsm");
29 29
 
30
-let gBMAbNameDlgLogger = Components.classes["@blue-mind.net/logger;1"].getService().wrappedJSObject.getLogger("gBMabNameDlg: ");
30
+var gBMAbNameDlgLogger = Components.classes["@blue-mind.net/logger;1"].getService().wrappedJSObject.getLogger("gBMabNameDlg: ");
31 31
 
32 32
 function abNameOKButton() {
33 33
     let isLocal = document.getElementById("local").getAttribute("checked") == "false";
... ...
@@ -26,7 +26,7 @@ Components.utils.import("resource://bm/bmUtils.jsm");
26 26
 Components.utils.import("resource://bm/bmService.jsm");
27 27
 Components.utils.import("resource://gre/modules/Services.jsm");
28 28
 
29
-let gBMPreferences = {
29
+var gBMPreferences = {
30 30
     _logger: Components.classes["@blue-mind.net/logger;1"].getService().wrappedJSObject.getLogger("gBMPreferences: "),
31 31
     init: function() {},
32 32
     promptUsernameAndPassword: function() {