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:
3f59726
)
Partpicker: fat_set_item mit neuem Part-Controller gefixt
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 2 Feb 2017 10:17:52 +0000
(11:17 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 2 Feb 2017 10:17:52 +0000
(11:17 +0100)
Der alte Part-Controller erwartete, dass die Part-ID als $::form->{id}
übergeben wird. Der neue hingegen nutzt $::form->{part}->{id}.
js/autocomplete_part.js
patch
|
blob
|
history
diff --git
a/js/autocomplete_part.js
b/js/autocomplete_part.js
index
cae7f01
..
4ebc5a5
100644
(file)
--- a/
js/autocomplete_part.js
+++ b/
js/autocomplete_part.js
@@
-98,7
+98,7
@@
namespace('kivi', function(k){
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);
},