Bug 670691 - Sync can't deactivate device - bundle_prefutilities is not defined r=jh a=neil for CLOSED TREE
authorIan Neal <iann_cvs@blueyonder.co.uk>
Wed, 13 Jul 2011 23:25:54 +0100
changeset 8131 b73776796adeeaf1076724c917d246e64aba5f31
parent 8130 a555dac15d9033b6b2e66343426eb1c9b3447ee7
child 8132 92e34294d51fa4d4ba9beabf5f2bb59442725881
push id60
push useriann_cvs@blueyonder.co.uk
push dateWed, 13 Jul 2011 22:26:07 +0000
treeherdercomm-aurora@b73776796ade [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjh, neil
bugs670691
Bug 670691 - Sync can't deactivate device - bundle_prefutilities is not defined r=jh a=neil for CLOSED TREE
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();