Index: Source/WebCore/inspector/front-end/TextPrompt.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/TextPrompt.js (revision 113151) |
+++ Source/WebCore/inspector/front-end/TextPrompt.js (working copy) |
@@ -278,7 +278,7 @@ |
handled = this.defaultKeyHandler(event); |
if (handled) |
- event.consume(); |
+ event.consume(true); |
return handled; |
}, |
@@ -880,7 +880,7 @@ |
} |
if (newText !== undefined) { |
- event.consume(); |
+ event.consume(true); |
this.text = newText; |
if (isPrevious) { |
@@ -1133,7 +1133,7 @@ |
_onItemMouseDown: function(text, event) |
{ |
this.acceptSuggestion(text); |
- event.consume(); |
+ event.consume(true); |
}, |
_createItemElement: function(prefix, text) |