mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 09:51:29 +00:00
infobox_callback: add exception handler
This commit is contained in:
@@ -1396,6 +1396,8 @@ function infobox_submit_callback() {
|
|||||||
function infobox_callback() {
|
function infobox_callback() {
|
||||||
if (xmlhttp.readyState == 4) {
|
if (xmlhttp.readyState == 4) {
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
|
if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
|
||||||
var overlay = document.getElementById("dialog_overlay");
|
var overlay = document.getElementById("dialog_overlay");
|
||||||
if (overlay) {
|
if (overlay) {
|
||||||
@@ -1414,6 +1416,9 @@ function infobox_callback() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
notify("");
|
notify("");
|
||||||
|
} catch (e) {
|
||||||
|
exception_error("infobox_callback", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user