]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix CDM headline popup menu
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 22:38:26 +0000 (01:38 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 22:38:26 +0000 (01:38 +0300)
viewfeed.js

index b7ef31a7c07de5e3591479ca80475bec1aeaf541..a23073fac1c87a428e4eea21feb44e8dd0d58a26 100644 (file)
@@ -2231,7 +2231,12 @@ function initHeadlinesMenu() {
                        dijit.byId("headlinesMenu").destroyRecursive();
 
                var ids = [];
-               var nodes = $$("#headlines-frame > div[id*=RROW]");
+
+               if (!isCdmMode()) {
+                       nodes = $$("#headlines-frame > div[id*=RROW]");
+               } else {
+                       nodes = $$("#headlines-frame span[id*=RTITLE]");
+               }
 
                nodes.each(function(node) {
                        ids.push(node.id);