From: Sven Schöling Date: Fri, 10 Feb 2017 12:57:28 +0000 (+0100) Subject: kivi.Part.js: im PICKED state auf enter/tab den commit hook auslösen X-Git-Tag: release-3.5.4~1451 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f7eae64acced3a58353763077899871ef6866d6b;p=kivitendo-erp.git kivi.Part.js: im PICKED state auf enter/tab den commit hook auslösen --- diff --git a/js/kivi.Part.js b/js/kivi.Part.js index 174d4e77a..4a55a1799 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -412,6 +412,9 @@ namespace('kivi.Part', function(ns) { self.set_item({}); return true; } else if (self.state == self.STATES.PICKED) { + if (self.o.action.on_enter_match_one) { + self.run_action(self.o.action.on_enter_match_one); + } return true; } if (event.which == KEY.TAB) {