зеркало из https://github.com/mozilla/gecko-dev.git
fix Bugzilla Bug 25497 view source on image only brings unknown file type dialog
patch by gervase.markham@univ.ox.ac.uk r=timeless sr=alecf
This commit is contained in:
Родитель
04dec4f28a
Коммит
593a6bb64e
|
@ -129,7 +129,7 @@ nsContextMenu.prototype = {
|
|||
},
|
||||
initViewItems : function () {
|
||||
// View source is always OK, unless in directory listing.
|
||||
this.showItem( "context-viewsource", !this.inDirList );
|
||||
this.showItem( "context-viewsource", !( this.inDirList || this.onImage ) );
|
||||
|
||||
// View frame source depends on whether we're in a frame.
|
||||
this.showItem( "context-viewframesource", this.inFrame );
|
||||
|
|
Загрузка…
Ссылка в новой задаче