From a99d8ce5a1acab57406fc95654054bcc599bb945 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 8 Aug 2018 15:27:43 +0200 Subject: [PATCH 1/1] =?utf8?q?Artikelstammdaten:=20Einf=C3=BCgen=20eines?= =?utf8?q?=20Kunden=20f=C3=BChrt=20zur=20Fehlermeldung?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Im Zusammenhang mit "Kunden-Spezifische Artikeleigenschaften" commit 62f2141002f5b8c11fa9d881473fd3bc469b4eef wurde die falsche ID zur Prüfung verwendet. Jetzt wird nichts zum Server gesendet, falls keine customer_id gesetzt ist (cherry picked from commit 000ac96383146c8e942badc4c73ccf2f0899392f) --- js/kivi.Part.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/kivi.Part.js b/js/kivi.Part.js index 3828cfdec..40c4bd96d 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -269,7 +269,7 @@ namespace('kivi.Part', function(ns) { }; ns.add_customerprice_row = function() { - if ($('#add_customerpriceid').val() === '') return; + if ($('#add_customerprice').val() === '') return; var data = $('#customerprice_table :input').serializeArray(); data.push({ name: 'action', value: 'Part/add_customerprice_row' }); -- 2.20.1