FeedTree: add feed debugger to per-feed context menu
This commit is contained in:
parent
1a484ec3f5
commit
cc2ac3a86c
|
@ -64,6 +64,13 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
|
|||
CommonDialogs.editFeed(this.getParent().row_id, false);
|
||||
}}));
|
||||
|
||||
menu.addChild(new dijit.MenuItem({
|
||||
label: __("Debug feed"),
|
||||
onClick: function() {
|
||||
window.open("backend.php?op=feeds&method=update_debugger&feed_id=" + this.getParent().row_id +
|
||||
"&csrf_token=" + App.getInitParam("csrf_token"));
|
||||
}}));
|
||||
|
||||
/* menu.addChild(new dijit.MenuItem({
|
||||
label: __("Update feed"),
|
||||
onClick: function() {
|
||||
|
|
Loading…
Reference in New Issue