showArticleInHeadlines: add exception handling
This commit is contained in:
parent
71d277deec
commit
868d0ed27e
|
@ -198,6 +198,8 @@ function render_article(article) {
|
|||
|
||||
function showArticleInHeadlines(id) {
|
||||
|
||||
try {
|
||||
|
||||
cleanSelected("headlinesList");
|
||||
|
||||
var crow = document.getElementById("RROW-" + id);
|
||||
|
@ -214,6 +216,9 @@ function showArticleInHeadlines(id) {
|
|||
selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', false);
|
||||
markHeadline(id);
|
||||
|
||||
} catch (e) {
|
||||
exception_error("showArticleInHeadlines", e);
|
||||
}
|
||||
}
|
||||
|
||||
function article_callback2(transport, id, feed_id) {
|
||||
|
|
Loading…
Reference in New Issue