projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b5826
)
Partpicker: fat_set_item mit neuem Part-Controller gefixt
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 2 Feb 2017 10:28:16 +0000
(11:28 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 13 Feb 2017 15:32:43 +0000
(16:32 +0100)
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
patch
|
blob
|
history
diff --git
a/js/kivi.Part.js
b/js/kivi.Part.js
index
aa1e57a
..
de5571c
100644
(file)
--- 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);
},