Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: Source/devtools/front_end/ContextMenu.js

Issue 247013004: DevTools: [CodeMirror] fix context menu for text editor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/CodeMirrorTextEditor.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ContextMenu.js
diff --git a/Source/devtools/front_end/ContextMenu.js b/Source/devtools/front_end/ContextMenu.js
index 7c2ded1af03a634de5d88a5e3aa93888ab3df534..4c0a3e738e401e5f69d4208d0d3115ff53b8f27c 100644
--- a/Source/devtools/front_end/ContextMenu.js
+++ b/Source/devtools/front_end/ContextMenu.js
@@ -223,7 +223,7 @@ WebInspector.ContextMenu.prototype = {
} else {
InspectorFrontendHost.showContextMenu(this._event, menuObject);
}
- this._event.consume();
+ this._event.consume(true);
}
},
« no previous file with comments | « Source/devtools/front_end/CodeMirrorTextEditor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698