From 5516095502dc143a3a43c3be449aac752e5577c6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jun 2006 16:46:32 +0100 Subject: workaround for xmlhttp permission denied in viewfeed footer (closes #73) --- functions.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index 93a36b587..c6f1e0d03 100644 --- a/functions.js +++ b/functions.js @@ -7,7 +7,7 @@ function browser_has_opacity() { navigator.userAgent.match("Opera") != null; } -function exception_error(location, e) { +function exception_error(location, e, silent) { var msg; if (e.fileName) { @@ -23,7 +23,9 @@ function exception_error(location, e) { debug("EXCEPTION: " + msg + ""); - alert(msg); + if (!silent) { + alert(msg); + } } function disableHotkeys() { -- cgit v1.2.3