Revision 299dba8f
Von Steven Schubiger vor mehr als 4 Jahren hinzugefügt
js/kivi.Order.js | ||
---|---|---|
162 | 162 |
$('#nr_in_title').html($(elt).val()); |
163 | 163 |
}; |
164 | 164 |
|
165 |
ns.reload_cv_dependant_selections = function() {
|
|
165 |
ns.reload_cv_dependent_selections = function() {
|
|
166 | 166 |
var data = $('#order_form').serializeArray(); |
167 | 167 |
data.push({ name: 'action', value: 'Order/customer_vendor_changed' }); |
168 | 168 |
|
... | ... | |
786 | 786 |
|
787 | 787 |
$(function() { |
788 | 788 |
if ($('#type').val() == 'sales_order' || $('#type').val() == 'sales_quotation' ) { |
789 |
$('#order_customer_id').change(kivi.Order.reload_cv_dependant_selections);
|
|
789 |
$('#order_customer_id').change(kivi.Order.reload_cv_dependent_selections);
|
|
790 | 790 |
} else { |
791 |
$('#order_vendor_id').change(kivi.Order.reload_cv_dependant_selections);
|
|
791 |
$('#order_vendor_id').change(kivi.Order.reload_cv_dependent_selections);
|
|
792 | 792 |
} |
793 | 793 |
|
794 | 794 |
if ($('#type').val() == 'sales_order' || $('#type').val() == 'sales_quotation' ) { |
Auch abrufbar als: Unified diff
Schreibweise "dependancy" -> "dependency" (und aehnliches)