]> wagnertech.de Git - kivitendo-erp.git/commitdiff
kivi.Validator: In Controller eingebunden, die validate_form benutzen
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 13 Oct 2017 13:29:04 +0000 (15:29 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 13 Oct 2017 13:45:45 +0000 (15:45 +0200)
... alle die auf "ack validate_form" in SL/Controller matchen

SL/Controller/Buchungsgruppen.pm
SL/Controller/DeliveryTerm.pm
SL/Controller/PaymentTerm.pm
SL/Controller/SimpleSystemSetting.pm
SL/Controller/Taxzones.pm

index 55e0fab89ff103c0ffec8e1fe197f1fca674d38b..a608a6eab80ac814514d1d42e7047e8d93ef03c9 100644 (file)
@@ -223,6 +223,7 @@ sub setup_show_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 sub setup_list_action_bar {
index 47392d94745377fd72de31022ea30a4aa962b609..d566b5c9f5652e9e5070ae6333a71efc5f7326ed 100644 (file)
@@ -166,6 +166,7 @@ sub setup_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 1;
index bf3083d010dd3ea4b112aec83d87d87998ef30e3..4f4c6ca89bfb38ba629415609ef59b4aac2825a5 100644 (file)
@@ -173,6 +173,7 @@ sub setup_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 1;
index 5fb79aaab3b67eb36cf6e06c9b92e9e4e2aa2a4b..2e559a31d8469e2cdfa6fa9557389ab45fc5d502 100644 (file)
@@ -460,6 +460,7 @@ sub setup_render_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 1;
index e0125695c10bcc5656fb535c8a955af2e5b39d94..72c772fd6915ed2a11e4a6e2364c980e644018a1 100644 (file)
@@ -214,6 +214,7 @@ sub setup_show_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 sub setup_list_action_bar {