From 839a165776ed0dd10a66fd936335325b40382969 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Tue, 30 May 2017 16:14:24 +0200 Subject: [PATCH] =?utf8?q?Fehler=20bei=20Erzeugnisartikel=20hinzuf=C3=BCge?= =?utf8?q?n=20bei=20Erfassen-Button?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Anpassung nach Umbenennung der Picker-id, der Fehler kam, wenn kein gültiger Artikel ausgewählt war. Siehe Ticket #255 --- js/kivi.Part.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/kivi.Part.js b/js/kivi.Part.js index 11cd8f248..eee498e3b 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -154,7 +154,7 @@ namespace('kivi.Part', function(ns) { }; ns.add_assortment_item = function() { - if ($('#add_assortment_item_id').val() === '') return; + if ($('#assortment_picker').val() === '') return; $('#row_table_id thead a img').remove(); @@ -168,7 +168,7 @@ namespace('kivi.Part', function(ns) { }; ns.add_assembly_item = function() { - if ($('#add_assembly_item_id').val() === '') return; + if ($('#assembly_picker').val() === '') return; var data = $('#assembly :input').serializeArray(); data.push({ name: 'action', value: 'Part/add_assembly_item' }, -- 2.20.1