From d5ad8fecbc5ebc197dc8f83e754d67615c85baa4 Mon Sep 17 00:00:00 2001 From: "suresh%netscape.com" Date: Wed, 17 May 2006 02:34:55 +0000 Subject: [PATCH] bug 194843 - JS errors in nsPrefWindow.js. "debug" not defined. r-varga, sr-jag. --- suite/common/pref/nsPrefWindow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suite/common/pref/nsPrefWindow.js b/suite/common/pref/nsPrefWindow.js index 33d04e29d58..f644ebf665d 100644 --- a/suite/common/pref/nsPrefWindow.js +++ b/suite/common/pref/nsPrefWindow.js @@ -100,7 +100,7 @@ nsPrefWindow.prototype = try { hPrefWindow.okHandlers[i](); } catch (e) { - debug("some silly ok handler /*"+hPrefWindow.okHandlers[i]+"*/ failed: "+ e); + dump("some silly ok handler /*"+hPrefWindow.okHandlers[i]+"*/ failed: "+ e); } hPrefWindow.savePrefs(); }, @@ -112,7 +112,7 @@ nsPrefWindow.prototype = try { hPrefWindow.cancelHandlers[i](); } catch (e) { - debug("some silly cancel handler /*"+hPrefWindow.cancelHandlers[i]+"*/ failed: "+ e); + dump("some silly cancel handler /*"+hPrefWindow.cancelHandlers[i]+"*/ failed: "+ e); } },