mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
Bug 182997 patch by johann.petrak@chello.at r=timeless sr=jag showItem("context-copy") should check isTextSelected and onTextInput
This commit is contained in:
parent
86c22ad044
commit
a397877c79
@ -185,7 +185,7 @@ nsContextMenu.prototype = {
|
||||
this.showItem( "context-redo", this.onTextInput );
|
||||
this.showItem( "context-sep-undo", this.onTextInput );
|
||||
this.showItem( "context-cut", this.onTextInput );
|
||||
this.showItem( "context-copy", true );
|
||||
this.showItem( "context-copy", this.isTextSelected || this.onTextInput);
|
||||
this.showItem( "context-paste", this.onTextInput );
|
||||
this.showItem( "context-delete", this.onTextInput );
|
||||
this.showItem( "context-sep-paste", this.onTextInput );
|
||||
|
Loading…
Reference in New Issue
Block a user