Bug 901019 - Disable selection ui when pasting into the address bar using the context menu. r=bbondy

This commit is contained in:
Jim Mathies 2013-08-15 06:16:42 -05:00
parent 2164d4d857
commit 8f791ff416

View File

@ -93,12 +93,12 @@ var ContextCommands = {
let y = ContextMenuUI.popupState.y;
let json = {x: x, y: y, command: "paste" };
target.messageManager.sendAsyncMessage("Browser:ContextCommand", json);
SelectionHelperUI.closeEditSession();
} else {
// chrome
CommandUpdater.doCommand("cmd_paste");
target.focus();
}
SelectionHelperUI.closeEditSession();
},
pasteAndGo: function cc_pasteAndGo() {