Revision 96caf7a5
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
js/kivi.Order.js | ||
---|---|---|
138 | 138 |
email_dialog.dialog("close"); |
139 | 139 |
}; |
140 | 140 |
|
141 |
ns.reload_cv_dependend_selections = function() {
|
|
141 |
ns.reload_cv_dependant_selections = function() {
|
|
142 | 142 |
var data = $('#order_form').serializeArray(); |
143 | 143 |
data.push({ name: 'action', value: 'Order/customer_vendor_changed' }); |
144 | 144 |
|
... | ... | |
443 | 443 |
|
444 | 444 |
$(function(){ |
445 | 445 |
if ($('#type').val() == 'sales_order') { |
446 |
$('#order_customer_id').change(kivi.Order.reload_cv_dependend_selections);
|
|
446 |
$('#order_customer_id').change(kivi.Order.reload_cv_dependant_selections);
|
|
447 | 447 |
} else { |
448 |
$('#order_vendor_id').change(kivi.Order.reload_cv_dependend_selections);
|
|
448 |
$('#order_vendor_id').change(kivi.Order.reload_cv_dependant_selections);
|
|
449 | 449 |
} |
450 | 450 |
|
451 | 451 |
if ($('#type').val() == 'sales_order') { |
Auch abrufbar als: Unified diff
OrderController - Funtion umbenannt (dependend->dependant)