Adding view page info for pages, frames (41443). patch=matthew wilsom, r=mcafee, sr=ben

This commit is contained in:
mcafee%netscape.com 2006-07-29 05:35:56 +00:00
Родитель 1ca0ba46f1
Коммит 57bec1e171
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -134,11 +134,11 @@ nsContextMenu.prototype = {
// View frame source depends on whether we're in a frame.
this.showItem( "context-viewframesource", this.inFrame );
// View Info don't work no way no how.
this.showItem( "context-viewinfo", false );
// View Info is available, unless in directory listing
this.showItem( "context-viewinfo", !this.inDirList );
// View Frame Info isn't working, either.
this.showItem( "context-viewframeinfo", false );
// View Frame Info depends on whether we're in a frame
this.showItem( "context-viewframeinfo", this.inFrame );
// View Image depends on whether an image was clicked on.
this.showItem( "context-viewimage", this.onImage );
@ -392,10 +392,10 @@ nsContextMenu.prototype = {
this.target.ownerDocument.location.href);
},
viewInfo : function () {
// XXX not implemented
BrowserPageInfo();
},
viewFrameInfo : function () {
// XXX not implemented
BrowserPageInfo(this.target.ownerDocument);
},
// Open new window with the URL of the image.
viewImage : function () {