diff options
author | Andrew Dolgov <[email protected]> | 2010-11-20 02:06:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-20 02:06:54 +0300 |
commit | e5d9c770520d436d34c45a49e57806a77396c915 (patch) | |
tree | 66dd8847d48ec515f4f9751b4fb603f481b6486a /viewfeed.js | |
parent | 3571742512cb191b4a92931bee9cee1699e75a55 (diff) |
remove useless view article menu item when in CDM
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/viewfeed.js b/viewfeed.js index a23073fac..bee13f5a7 100644 --- a/viewfeed.js +++ b/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"), |