From dbd35a966c8be73011ee84643b588e8ccc6f892f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 10 Feb 2017 13:58:40 +0100 Subject: [PATCH] =?utf8?q?Part:=20Nach=20einf=C3=BCgen=20von=20Zeile=20den?= =?utf8?q?=20Partpicker=20clearen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.Part.js | 2 ++ 1 file changed, 2 insertions(+) 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); }; -- 2.20.1