Bug 670691 - Sync can't deactivate device - bundle_prefutilities is not defined r=jh
authorIan Neal <iann_cvs@blueyonder.co.uk>
Mon, 11 Jul 2011 21:26:23 +0100
changeset 8088 cc1d417cfbf3dc6d46bb525343c2e9219864bdac
parent 8087 0e65da451a67a39fb00c527adc00a98b5dd336f3
child 8089 e6a7df2f0c204f7df080bb74e30ac6f1ca1fa57d
push id6222
push useriann_cvs@blueyonder.co.uk
push dateMon, 11 Jul 2011 20:26:33 +0000
treeherdercomm-central@cc1d417cfbf3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjh
bugs670691
Bug 670691 - Sync can't deactivate device - bundle_prefutilities is not defined r=jh
suite/common/pref/pref-sync.js
--- a/suite/common/pref/pref-sync.js
+++ b/suite/common/pref/pref-sync.js
@@ -103,20 +103,20 @@ let gSyncPane = {
 
   startOver: function (showDialog) {
     if (showDialog) {
       let flags = Services.prompt.BUTTON_POS_0 * Services.prompt.BUTTON_TITLE_IS_STRING +
                   Services.prompt.BUTTON_POS_1 * Services.prompt.BUTTON_TITLE_CANCEL;
       let prefutilitiesBundle = document.getElementById("bundle_prefutilities");
       let buttonChoice =
         Services.prompt.confirmEx(window,
-                                  bundle_prefutilities.getString("stopUsingAccount.title"),
-                                  bundle_prefutilities.getString("differentAccount.label"),
+                                  prefutilitiesBundle.getString("stopUsingAccount.title"),
+                                  prefutilitiesBundle.getString("differentAccount.label"),
                                   flags,
-                                  bundle_prefutilities.getString("differentAccountConfirm.label"),
+                                  prefutilitiesBundle.getString("differentAccountConfirm.label"),
                                   null, null, null, {});
 
       // If the user selects cancel, just bail
       if (buttonChoice == 1)
         return;
     }
 
     Weave.Service.startOver();