From 53498e5bf03db216d96bed7f11a8100af995ab28 Mon Sep 17 00:00:00 2001 From: "Martin Helmling mh@waldpark.octosoft.eu" Date: Fri, 15 Apr 2016 16:38:48 +0200 Subject: [PATCH] =?utf8?q?PartPicker:=20partnumber=20und=20description=20d?= =?utf8?q?urchg=C3=A4ngig?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Aus dem Dialog wurden 'partnumber' und 'description' nicht an set_item() übergeben. Konsistent zur Auswahl aus dem Pulldown des Partpicker. (vorher musste man 'set_fat_item=1' setzen, um an die Daten zu kommen, aber zusätzlicher AJAX-Call) --- js/autocomplete_part.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/autocomplete_part.js b/js/autocomplete_part.js index 8c304bba3..f271b8da4 100644 --- a/js/autocomplete_part.js +++ b/js/autocomplete_part.js @@ -243,6 +243,8 @@ namespace('kivi', function(k){ id: $(this).children('input.part_picker_id').val(), name: $(this).children('input.part_picker_description').val(), unit: $(this).children('input.part_picker_unit').val(), + partnumber: $(this).children('input.part_picker_partnumber').val(), + description: $(this).children('input.part_picker_description').val(), }); close_popup(); $dummy.focus(); -- 2.20.1