article_callback: enable error message when could not receive content
This commit is contained in:
parent
ac162cbe5a
commit
0d88fd97df
|
@ -132,8 +132,8 @@ function article_callback() {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
debug("article_callback: returned no XML object");
|
debug("article_callback: returned no XML object");
|
||||||
/* var f = document.getElementById("content-frame");
|
var f = document.getElementById("content-frame");
|
||||||
f.innerHTML = "<div class='whiteBox'>" + __('Could not display article (missing XML object)') + "</div>"; */
|
f.innerHTML = "<div class='whiteBox'>" + __('Could not display article (missing XML object)') + "</div>";
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("article_callback", e);
|
exception_error("article_callback", e);
|
||||||
|
|
Loading…
Reference in New Issue