1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 17:11:29 +00:00

infobox_callback: add exception handler

This commit is contained in:
Andrew Dolgov
2007-06-14 07:34:35 +01:00
parent fee51fc66b
commit aa8716da38

View File

@@ -1396,6 +1396,8 @@ function infobox_submit_callback() {
function infobox_callback() {
if (xmlhttp.readyState == 4) {
try {
if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
var overlay = document.getElementById("dialog_overlay");
if (overlay) {
@@ -1414,6 +1416,9 @@ function infobox_callback() {
}
}
notify("");
} catch (e) {
exception_error("infobox_callback", e);
}
}
}