disable adv image pref is imageblocking is enabled

git-svn-id: svn://10.0.0.236/trunk@196923 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com 2006-05-17 02:25:05 +00:00
parent 2e0f39b496
commit ee352ed0f4

View File

@ -286,6 +286,9 @@ nsPrefWindow.prototype =
element = window.frames[this.contentFrame].document.getElementById("cookieWindow");
titleWithImages = element.getAttribute("titleWithImages");
element.setAttribute("title",titleWithImages);
} else if (aPageTag.indexOf("pref-advanced") != -1) {
element = window.frames[this.contentFrame].document.getElementById("advancedAlwaysLoadImages");
element.setAttribute("style","display: none;" );
}
}
} catch(e) {