From 04b01603f2d668f06a1174c86179031f519682d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 6 Feb 2017 16:30:03 +0100 Subject: [PATCH] kivi.Part.js: PickerPopup: bei Enter nicht timeout abwarten --- js/kivi.Part.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/kivi.Part.js b/js/kivi.Part.js index d83336c2e..a1b02c9c0 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -597,7 +597,11 @@ namespace('kivi.Part', function(ns) { } } window.clearTimeout(this.timer); - this.timer = window.setTimeout(function() { self.update_results() }, 100); + if (event.which == KEY.ENTER) { + self.update_results(); + } else { + this.timer = window.setTimeout(function() { self.update_results() }, 100); + } }, close_popup: function() { $('#part_selection').dialog('close'); -- 2.20.1