From 30646135f5f05df44bc49df407dd003b4afa5a2f Mon Sep 17 00:00:00 2001 From: "varada%netscape.com" Date: Mon, 21 Oct 2002 23:30:13 +0000 Subject: [PATCH] fix for 20703-get rid of file new menu items-new navigator and editor as well as open in new window context menu;sr=mscott git-svn-id: svn://10.0.0.236/branches/ISHMAIL_1_0_BRANCH@132344 18797224-902f-48f8-a5cc-f745e15eee43 --- .../resources/content/nsContextMenu.js | 7 +-- .../resources/content/utilityOverlay.xul | 47 ------------------- 2 files changed, 1 insertion(+), 53 deletions(-) diff --git a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js index 089830c1add..e5c8ee4d40a 100644 --- a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js +++ b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js @@ -80,7 +80,7 @@ nsContextMenu.prototype = { this.initMetadataItems(); }, initOpenItems : function () { - this.showItem( "context-openlink", this.onSaveableLink || ( this.inDirList && this.onLink ) ); + //this.showItem( "context-openlink", this.onSaveableLink || ( this.inDirList && this.onLink ) ); this.showItem( "context-openlinkintab", this.onSaveableLink || ( this.inDirList && this.onLink ) ); this.showItem( "context-sep-open", this.onSaveableLink || ( this.inDirList && this.onLink ) ); @@ -430,11 +430,6 @@ nsContextMenu.prototype = { return false; } }, - // Open linked-to URL in a new window. - openLink : function () { - // Determine linked-to URL. - openNewWindowWith( this.linkURL() ); - }, // Open linked-to URL in a new tab. openLinkInTab : function () { // Determine linked-to URL. diff --git a/mozilla/xpfe/communicator/resources/content/utilityOverlay.xul b/mozilla/xpfe/communicator/resources/content/utilityOverlay.xul index 6256c676f48..de848bb2875 100644 --- a/mozilla/xpfe/communicator/resources/content/utilityOverlay.xul +++ b/mozilla/xpfe/communicator/resources/content/utilityOverlay.xul @@ -40,58 +40,11 @@ - - - - - - - - - - - - - - -