From 8f791ff416ed385e1338901eb111d488c795e4b5 Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Thu, 15 Aug 2013 06:16:42 -0500 Subject: [PATCH] Bug 901019 - Disable selection ui when pasting into the address bar using the context menu. r=bbondy --- browser/metro/base/content/ContextCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/metro/base/content/ContextCommands.js b/browser/metro/base/content/ContextCommands.js index a949f34bcbf..4d368c81356 100644 --- a/browser/metro/base/content/ContextCommands.js +++ b/browser/metro/base/content/ContextCommands.js @@ -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() {