rem: 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 ) ); 
add: 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 ) ); 
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 Wallpaper depends on whether an image was clicked on, and only works if we have a shell service.        var haveSetWallpaper = false;#ifdef HAVE_SHELL_SERVICE        // Only enable set as wallpaper if we can get the shell service.        var shell = getShellService();        if (shell)          haveSetWallpaper = true;#endif        this.showItem( "context-setWallpaper", haveSetWallpaper && this.onImage );        if( haveSetWallpaper && this.onImage )            // Disable the Set As Wallpaper menu item if we're still trying to load the image          this.setItemAttr( "context-setWallpaper", "disabled", (("complete" in this.target) && !this.target.complete) ? "true" : null );        // 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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2fb9feaadc992e3ccd442db789244b253d0427f8/browser.js/buggy/browser/base/content/browser.js