Bug 32360; patch from Horwath Martin (horwatch@opensa.org); r=law

This commit is contained in:
law%netscape.com 2000-06-09 23:49:17 +00:00
parent f8123f8c1f
commit e78988cd16

View File

@ -281,6 +281,13 @@ nsContextMenu.prototype = {
openFrame : function () {
openNewWindowWith( this.target.ownerDocument.location.href );
},
// Open new "view source" window with the frame's URL.
viewFrameSource : function () {
window.openDialog( "chrome://navigator/content/viewSource.xul",
"_blank",
"chrome,dialog=no",
this.target.ownerDocument.location.href);
},
viewInfo : function () {
dump( "nsContextMenu.viewInfo not implemented yet\n" );
},