Revision 81d283b4
Von Kivitendo Admin vor fast 9 Jahren hinzugefügt
js/kivi.shop_part.js | ||
---|---|---|
});
|
||
}
|
||
|
||
ns.update_shop_part = function(shop_part_id) {
|
||
$.post('controller.pl', { action: 'ShopPart/update_shop', shop_part_id: shop_part_id }, function(data) {
|
||
kivi.eval_json_result(data);
|
||
});
|
||
}
|
||
|
||
ns.update_discount_source = function(row, source, discount_str) {
|
||
$('#active_discount_source_' + row).val(source);
|
||
if (discount_str) $('#discount_' + row).val(discount_str);
|
Auch abrufbar als: Unified diff
Shop - per ajax ShopPart/update_shop aufrufen