Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
This commit is contained in:
commit
ef645ff05e
1 changed files with 13 additions and 11 deletions
|
@ -128,7 +128,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
|||
tnode._paramNode = param;
|
||||
}
|
||||
|
||||
if (id.match("FEED:") && bare_id > 0) {
|
||||
if (id.match("FEED:")) {
|
||||
var menu = new dijit.Menu();
|
||||
menu.row_id = bare_id;
|
||||
|
||||
|
@ -138,6 +138,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
|||
catchupFeed(this.getParent().row_id);
|
||||
}}));
|
||||
|
||||
if (bare_id > 0) {
|
||||
menu.addChild(new dijit.MenuItem({
|
||||
label: __("Edit feed"),
|
||||
onClick: function() {
|
||||
|
@ -149,6 +150,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
|||
onClick: function() {
|
||||
scheduleFeedUpdate(this.getParent().row_id, false);
|
||||
}}));
|
||||
}
|
||||
|
||||
menu.bindDomNode(tnode.domNode);
|
||||
tnode._menu = menu;
|
||||
|
|
Loading…
Reference in a new issue