projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1058939
)
kivi.Part.js: PickerPopup: bei Enter nicht timeout abwarten
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 6 Feb 2017 15:30:03 +0000
(16:30 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 13 Feb 2017 15:32:44 +0000
(16:32 +0100)
js/kivi.Part.js
patch
|
blob
|
history
diff --git
a/js/kivi.Part.js
b/js/kivi.Part.js
index
d83336c
..
a1b02c9
100644
(file)
--- 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');