Bug 304386 Doubled separator on broken image context menu r=iann sr=jag

This commit is contained in:
neil%parkwaycc.co.uk 2006-07-29 05:44:28 +00:00
parent 85ee3ddb51
commit eab6b68ac1

View File

@ -169,7 +169,7 @@ nsContextMenu.prototype = {
var isWin = navigator.appVersion.indexOf("Windows") != -1;
this.showItem( "context-setWallpaper", isWin && (this.onLoadedImage || this.onStandaloneImage));
this.showItem( "context-sep-image", this.onImage || this.onStandaloneImage);
this.showItem( "context-sep-image", this.onLoadedImage || this.onStandaloneImage);
if( isWin && this.onLoadedImage )
// Disable the Set As Wallpaper menu item if we're still trying to load the image