OrderController - Funtion umbenannt (dependend->dependant)
authorG. Richardson <information@kivitendo-premium.de>
Mon, 1 Aug 2016 12:58:10 +0000 (14:58 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Mon, 1 Aug 2016 15:00:49 +0000 (17:00 +0200)
js/kivi.Order.js

index ad84d98..c4aabf7 100644 (file)
@@ -138,7 +138,7 @@ namespace('kivi.Order', function(ns) {
     email_dialog.dialog("close");
   };
 
-  ns.reload_cv_dependend_selections = function() {
+  ns.reload_cv_dependant_selections = function() {
     var data = $('#order_form').serializeArray();
     data.push({ name: 'action', value: 'Order/customer_vendor_changed' });
 
@@ -443,9 +443,9 @@ namespace('kivi.Order', function(ns) {
 
 $(function(){
   if ($('#type').val() == 'sales_order') {
-    $('#order_customer_id').change(kivi.Order.reload_cv_dependend_selections);
+    $('#order_customer_id').change(kivi.Order.reload_cv_dependant_selections);
   } else {
-    $('#order_vendor_id').change(kivi.Order.reload_cv_dependend_selections);
+    $('#order_vendor_id').change(kivi.Order.reload_cv_dependant_selections);
   }
 
   if ($('#type').val() == 'sales_order') {