From: Sven Schöling Date: Mon, 6 Feb 2017 15:30:03 +0000 (+0100) Subject: kivi.Part.js: PickerPopup: bei Enter nicht timeout abwarten X-Git-Tag: release-3.5.4~1459 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=04b01603f2d668f06a1174c86179031f519682d3;p=kivitendo-erp.git kivi.Part.js: PickerPopup: bei Enter nicht timeout abwarten --- 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');