From ee352ed0f4ebccecf439f28790cd70ea7d64b87f Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Wed, 17 May 2006 02:25:05 +0000 Subject: [PATCH] disable adv image pref is imageblocking is enabled git-svn-id: svn://10.0.0.236/trunk@196923 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/common/pref/nsPrefWindow.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/suite/common/pref/nsPrefWindow.js b/mozilla/suite/common/pref/nsPrefWindow.js index 019f59aaea2..991204a73f9 100644 --- a/mozilla/suite/common/pref/nsPrefWindow.js +++ b/mozilla/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) {