From: Sven Schöling Date: Fri, 10 Feb 2017 12:58:40 +0000 (+0100) Subject: Part: Nach einfügen von Zeile den Partpicker clearen X-Git-Tag: release-3.5.4~1449 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=dbd35a966c8be73011ee84643b588e8ccc6f892f;p=kivitendo-erp.git Part: Nach einfügen von Zeile den Partpicker clearen --- diff --git a/js/kivi.Part.js b/js/kivi.Part.js index ff3ce981a..e8fcd28a6 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -162,6 +162,7 @@ namespace('kivi.Part', function(ns) { data.push({ name: 'action', value: 'Part/add_assortment_item' }, { name: 'part.id', value: $('#part_id').val() }, { name: 'part.part_type', value: 'assortment' }); + $('#assortment_picker').data('part_picker').clear(); $.post("controller.pl", data, kivi.eval_json_result); }; @@ -173,6 +174,7 @@ namespace('kivi.Part', function(ns) { data.push({ name: 'action', value: 'Part/add_assembly_item' }, { name: 'part.id', value: $("#part_id").val() }, { name: 'part.part_type', value: 'assortment' }); + $('#assembly_picker').data('part_picker').clear(); $.post("controller.pl", data, kivi.eval_json_result); };