summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 11:56:48 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 11:56:48 +0400
commit0b0822c2f11b75515a113b7c88c18f384a9dced0 (patch)
tree2393997ccfe484f7dd92cc7918ce18ff7e938209 /js
parentd2888e8832259628ac8185dd0663c7bc08754f5c (diff)
cdmExpandArticle: bail out if id not present in buffer (closes #628)
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index e3db58035..ece1f1394 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -1374,6 +1374,8 @@ function cdmExpandArticle(id) {
try {
console.log("cdmExpandArticle " + id);
+ if (!$("RROW-" + id)) return false;
+
hideAuxDlg();
var elem = $("CICD-" + getActiveArticleId());