remove useless view article menu item when in CDM
This commit is contained in:
parent
3571742512
commit
e5d9c77052
11
viewfeed.js
11
viewfeed.js
|
@ -2260,11 +2260,12 @@ function initHeadlinesMenu() {
|
|||
|
||||
});
|
||||
|
||||
menu.addChild(new dijit.MenuItem({
|
||||
label: __("View article"),
|
||||
onClick: function(event) {
|
||||
view(this.getParent().callerRowId);
|
||||
}}));
|
||||
if (!isCdmMode())
|
||||
menu.addChild(new dijit.MenuItem({
|
||||
label: __("View article"),
|
||||
onClick: function(event) {
|
||||
view(this.getParent().callerRowId);
|
||||
}}));
|
||||
|
||||
menu.addChild(new dijit.MenuItem({
|
||||
label: __("View in a new tab"),
|
||||
|
|
Loading…
Reference in New Issue