DevTools: [SSP] live-update property value when it's selected via mouse.

There was a left-over condition in the TextPrompt which has never being
satisfied. As a result, the WebInspector.TextPrompt.Events.ItemAccepted
event has never being fired.

BUG=398224

Review URL: https://codereview.chromium.org/477593005

git-svn-id: svn://svn.chromium.org/blink/trunk@180453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e5e6253c
......@@ -569,9 +569,6 @@ WebInspector.TextPrompt.prototype = {
*/
_acceptSuggestionInternal: function(prefixAccepted)
{
if (this._isAcceptingSuggestion)
return false;
if (!this.autoCompleteElement || !this.autoCompleteElement.parentNode)
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment