Bug 1560255 - fix typo that broke Movemail wizard when calling it directly from Account central. r=jorgk DONTBUILD
authoraceman <acelists@atlas.sk>
Wed, 19 Jun 2019 22:56:00 +0200
changeset 35901 9c86704d0b9de9c9f017302294fba65e2015093c
parent 35900 b9e0333084838171ff9adb08398e14842e131244
child 35902 320e458f6629de0a050295a50862fe5133060494
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersjorgk
bugs1560255
Bug 1560255 - fix typo that broke Movemail wizard when calling it directly from Account central. r=jorgk DONTBUILD
mailnews/base/prefs/content/accountUtils.js
--- a/mailnews/base/prefs/content/accountUtils.js
+++ b/mailnews/base/prefs/content/accountUtils.js
@@ -188,17 +188,17 @@ function msgOpenAccountWizard(wizardCall
 }
 
 function initAccountWizardTB(args) {
   let type = args[0] && args[0].acctType;
   let selType = null;
   if (type == "newsgroups") {
     selType = "newsaccount";
   } else if (type == "movemail") {
-    selType = "Movemail";
+    selType = "movemail";
   }
   let accountwizard = document.getElementById("AccountWizard");
   let acctyperadio = document.getElementById("acctyperadio");
   let feedRadio = acctyperadio.querySelector("radio[value='Feeds']");
   if (feedRadio)
     feedRadio.remove();
   if (selType) {
     acctyperadio.selectedItem = acctyperadio.querySelector("radio[value='" + selType + "']");