From cd39824ebc0e001b6b05a1b073ffd22afefbc9d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 2 Feb 2017 11:28:16 +0100 Subject: [PATCH] Partpicker: fat_set_item mit neuem Part-Controller gefixt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Der alte Part-Controller erwartete, dass die Part-ID als $::form->{id} übergeben wird. Der neue hingegen nutzt $::form->{part}->{id}. --- 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 aa1e57a58..de5571cc9 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -367,7 +367,7 @@ namespace('kivi.Part', function(ns) { if (o.fat_set_item && item.id) { $.ajax({ url: 'controller.pl?action=Part/show.json', - data: { id: item.id }, + data: { 'part.id': item.id }, success: function(rsp) { $real.trigger('set_item:PartPicker', rsp); }, -- 2.20.1