From: Sven Schöling Date: Mon, 13 Feb 2017 10:35:13 +0000 (+0100) Subject: Part: part picker commit hooks umbenannt X-Git-Tag: release-3.5.4~1446 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=68bfe305c33c1f440b3eeaedb5a9b98c3ae490d6;p=kivitendo-erp.git Part: part picker commit hooks umbenannt --- diff --git a/templates/webpages/part/_assembly.html b/templates/webpages/part/_assembly.html index b1acdd0df..66b9a7065 100644 --- a/templates/webpages/part/_assembly.html +++ b/templates/webpages/part/_assembly.html @@ -41,7 +41,7 @@ [% 'Part' | $T8 %]: - [% L.part_picker('add_items[+].parts_id', '', style='width: 300px', multiple=1, id='assembly_picker', action={set_multi_items='kivi.Part.set_multi_assembly_items', on_enter_match_one='kivi.Part.add_assembly_item'}) %] + [% L.part_picker('add_items[+].parts_id', '', style='width: 300px', multiple=1, id='assembly_picker', action={set_multi_items='kivi.Part.set_multi_assembly_items', commit_one='kivi.Part.add_assembly_item'}) %] [%- L.button_tag("kivi.Part.add_assembly_item()", LxERP.t8("Add")) %] [% L.button_tag('$("#assembly_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items')) %] [% L.hidden_tag('add_items[].qty_as_number', 1) %]