Bug 1498902 - fix missing header in account settings 'Synchronization & Storage'. r=arshad
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Sun, 14 Oct 2018 14:42:23 +0300
changeset 33375 45a3482554aa4a69ee41e4199aa6bcd7009d4077
parent 33374 883d9d1734ad1c0a7321f1101190160ba45dc1a4
child 33376 c1baf00bebcaa1e25991780ea218d9ee38e4e69b
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersarshad
bugs1498902
Bug 1498902 - fix missing header in account settings 'Synchronization & Storage'. r=arshad
mailnews/base/prefs/content/am-offline.js
--- a/mailnews/base/prefs/content/am-offline.js
+++ b/mailnews/base/prefs/content/am-offline.js
@@ -127,18 +127,18 @@ function onPreInit(account, accountValue
   gIncomingServer.type = gServerType;
 
   // 10 is OFFLINE_SUPPORT_LEVEL_REGULAR, see nsIMsgIncomingServer.idl
   // currently, there is no offline without diskspace
   var titleStringID = (gIncomingServer.offlineSupportLevel >= 10) ?
    "prefPanel-synchronization" : "prefPanel-diskspace";
 
   var prefBundle = document.getElementById("bundle_prefs");
-  var headertitle = document.getElementById("headertitle");
-  headertitle.setAttribute('title',prefBundle.getString(titleStringID));
+  document.querySelector("#headertitle > .dialogheader-title")
+          .setAttribute("value", prefBundle.getString(titleStringID));
   document.title = prefBundle.getString(titleStringID);
 
   if (gServerType == "pop3") {
     var pop3Server = gIncomingServer.QueryInterface(Ci.nsIPop3IncomingServer);
     // hide retention settings for deferred accounts
     if (pop3Server.deferredToAccount.length) {
       var retentionRadio = document.getElementById("retention.keepMsg");
       retentionRadio.setAttribute("hidden", "true");