diff options
author | Andrew Dolgov <[email protected]> | 2006-06-18 16:46:32 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-06-18 16:46:32 +0100 |
commit | 5516095502dc143a3a43c3be449aac752e5577c6 (patch) | |
tree | b5d3f91ef3c45debdce1a670c3bf0b379b641d27 /functions.js | |
parent | 752bd59812dcbd4ad8ec95e953e2b87ca7361a7f (diff) |
workaround for xmlhttp permission denied in viewfeed footer (closes #73)
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 6 |
1 files changed, 4 insertions, 2 deletions
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("<b>EXCEPTION: " + msg + "</b>"); - alert(msg); + if (!silent) { + alert(msg); + } } function disableHotkeys() { |