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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 2843203003: DevTools: pressing enter in bound input fields should not fire change handler (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index d2d831687423820b9c2657c6cf241453dc47f02f..ad40bfbcbc207df3a071c0965e5a3aeacaa6b9b5 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1558,12 +1558,6 @@ UI.bindInput = function(input, apply, validate, numeric) {
* @param {!Event} event
*/
function onKeyDown(event) {
- if (isEnterKey(event)) {
dgozman 2017/04/27 22:58:55 Why was this introduced in first place? Was it the
luoe 2017/04/29 03:29:59 As far as I can tell, the history looks like this:
- if (validate(input.value))
- apply(input.value);
- return;
- }
-
if (!numeric)
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698