From: Moritz Bunkus Date: Mon, 16 Jun 2014 11:18:38 +0000 (+0200) Subject: PartPicker: keine AJAJ-Requests nach Fat-Data ohne item.id schicken X-Git-Tag: release-3.2.0beta~411^2~60 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ee4b527080ea2db5f07f0b8c6d406de47b74e81b;p=kivitendo-erp.git PartPicker: keine AJAJ-Requests nach Fat-Data ohne item.id schicken --- diff --git a/js/autocomplete_part.js b/js/autocomplete_part.js index d0984eb01..d9bf8dbbb 100644 --- a/js/autocomplete_part.js +++ b/js/autocomplete_part.js @@ -83,7 +83,7 @@ namespace('kivi', function(k){ last_dummy = $dummy.val(); $real.trigger('change'); - if (o.fat_set_item) { + if (o.fat_set_item && item.id) { $.ajax({ url: 'controller.pl?action=Part/show.json', data: { id: item.id },