rem: this.showItem( "context-viewimage", this.onImage  && !this.onStandaloneImage ); 
add: this.showItem( "context-viewimage", this.onImage  && ( !this.onStandaloneImage || this.inFrame ) ); 
context:     initViewItems : function () {        // View source is always OK, unless in directory listing.        this.showItem( "context-viewpartialsource-selection", this.isContentSelected );        this.showItem( "context-viewpartialsource-mathml", this.onMathML && !this.isContentSelected );        this.showItem( "context-viewsource", !( this.inDirList || this.onImage || this.isContentSelected || this.onLink || this.onTextInput ) );        this.showItem( "context-viewinfo", !( this.inDirList || this.onImage || this.isContentSelected || this.onLink || this.onTextInput ) );        this.showItem( "context-sep-properties", !( this.inDirList || this.isContentSelected || this.onTextInput ) );        // Set as Desktop background depends on whether an image was clicked on,        // and only works if we have a shell service.        var haveSetDesktopBackground = false;#ifdef HAVE_SHELL_SERVICE        // Only enable Set as Desktop Background if we can get the shell service.        var shell = getShellService();        if (shell)          haveSetDesktopBackground = true;#endif        this.showItem( "context-setDesktopBackground", haveSetDesktopBackground && this.onLoadedImage );        if ( haveSetDesktopBackground && this.onLoadedImage )            this.setItemAttr( "context-setDesktopBackground", "disabled", this.disableSetDesktopBackground());        // View Image depends on whether an image was clicked on.        this.showItem( "context-viewimage", this.onImage  && !this.onStandaloneImage );        // View background image depends on whether there is one.        this.showItem( "context-viewbgimage", !( this.inDirList || this.onImage || this.isContentSelected || this.onLink || this.onTextInput ) );        this.showItem( "context-sep-viewbgimage", !( this.inDirList || this.onImage || this.isContentSelected || this.onLink || this.onTextInput ) );        this.setItemAttr( "context-viewbgimage", "disabled", this.hasBGImage ? null : "true");    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a94ab43b0c16e408a9c18fa7fb8eb4209749278f/browser.js/buggy/browser/base/content/browser.js