From 71d4c4e2d783340ad4c0447c90a43d1fa04bc872 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Wed, 17 May 2006 02:25:09 +0000 Subject: [PATCH] disable adv image pref is imageblocking is enabled --- suite/common/pref/nsPrefWindow.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suite/common/pref/nsPrefWindow.js b/suite/common/pref/nsPrefWindow.js index 019f59aaea27..991204a73f9e 100644 --- a/suite/common/pref/nsPrefWindow.js +++ b/suite/common/pref/nsPrefWindow.js @@ -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) {