diff options
author | Andrew Dolgov <[email protected]> | 2010-05-27 16:10:35 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-05-27 16:10:35 +0400 |
commit | 335565ac7ded005c3b21095fb4a17ff036717398 (patch) | |
tree | 469c91702de6b2622cdd7ff30cdf5fea68a044c7 /functions.js | |
parent | a1af15741005290157baa6b1df724a5becee1738 (diff) |
fix various actions failing when tried on an empty (e.g. no articles) headlines buffer
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.js b/functions.js index ff35961e8..7901c00f3 100644 --- a/functions.js +++ b/functions.js @@ -867,7 +867,7 @@ function selectTableRowsByIdPrefix(content_id, prefix, check_prefix, do_select, var content = $(content_id); if (!content) { - alert("[selectTableRows] Element " + content_id + " not found."); + debug("[selectTableRows] Element " + content_id + " not found."); return; } @@ -915,8 +915,8 @@ function getSelectedTableRowIds(content_id, prefix) { var content = $(content_id); if (!content) { - alert("[getSelectedTableRowIds] Element " + content_id + " not found."); - return; + debug("[getSelectedTableRowIds] Element " + content_id + " not found."); + return new Array(); } var sel_rows = new Array(); |