Changeset 85fa10 for content/v_identity.js
- Timestamp:
- Sep 9, 2018, 2:36:02 AM (4 years ago)
- Branches:
- ng_0.9
- Children:
- c5860f
- Parents:
- bc6c6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/v_identity.js
rbc6c6b r85fa10 119 119 // store identitykey locally to enable restoring after selection of next virtual identity without identitykey 120 120 identityElement.setAttribute("identitykey", identityElement.selectedItem.getAttribute("identitykey")); 121 122 // we are not using the smtp display, smtp is selected based on base identity123 //dentityElement.setAttribute("smtp", identityElement.identityData.smtp.value);124 121 125 122 identityElement.vid = identityElement.selectedItem.vid; … … 314 311 _uninstall: false, 315 312 observe: function (subject, topic, data) { 316 if (topic == "am-smtpChanges") {317 Log.debug("smtp changes observed");318 var msgIdentity = document.getElementById("msgIdentity");319 document.getAnonymousElementByAttribute(msgIdentity, "class", "smtpServerListHbox").refresh();320 }321 313 if (topic == "am-acceptChanges") { 322 314 Log.debug("account changes observed"); … … 348 340 var obsService = Components.classes["@mozilla.org/observer-service;1"]. 349 341 getService(Components.interfaces.nsIObserverService) 350 obsService.addObserver(this, "am-smtpChanges", false);351 342 obsService.addObserver(this, "am-acceptChanges", false); 352 343 }, … … 354 345 var obsService = Components.classes["@mozilla.org/observer-service;1"]. 355 346 getService(Components.interfaces.nsIObserverService) 356 obsService.removeObserver(this, "am-smtpChanges");357 347 obsService.removeObserver(this, "am-acceptChanges"); 358 348 }
Note: See TracChangeset
for help on using the changeset viewer.