Bug 950335 - "Force encryption" changed by "Use encryption if available" after XMPP wizard. r=florian,a=Standard8
authorPatrick Cloke <clokep@gmail.com>
Sun, 17 Aug 2014 09:17:19 -0400
changeset 20300 8119bbfaa8f3c8172d7f733919d0748ec57d9039
parent 20299 b49ed7b29adf671e2311885864fd220aaf7165a4
child 20301 bc1cb692c5f81c19fb05efa7a168c03a49037b0f
push id1204
push usermbanner@mozilla.com
push dateWed, 27 Aug 2014 18:32:57 +0000
treeherdercomm-beta@90e071abfd6e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, Standard8
bugs950335
Bug 950335 - "Force encryption" changed by "Use encryption if available" after XMPP wizard. r=florian,a=Standard8
mail/components/im/content/imAccountWizard.js
--- a/mail/components/im/content/imAccountWizard.js
+++ b/mail/components/im/content/imAccountWizard.js
@@ -407,16 +407,18 @@ var accountWizard = {
     inServer.valid = true;
     MailServices.accounts.notifyServerLoaded(inServer);
 
     return true;
   },
 
   getValue: function aw_getValue(aId) {
     var elt = document.getElementById(aId);
+    if ("selectedItem" in elt)
+      return elt.selectedItem.value;
     if ("checked" in elt)
       return elt.checked;
     if ("value" in elt)
       return elt.value;
     // If the groupbox has never been opened, the binding isn't attached
     // so the attributes don't exist. The calling code in showSummary
     // has a special handling of the undefined value for this case.
     return undefined;