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 55e0fab..a608a6e 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 47392d9..d566b5c 100644 (file)
@@ -166,6 +166,7 @@ sub setup_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 1;
index bf3083d..4f4c6ca 100644 (file)
@@ -173,6 +173,7 @@ sub setup_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 1;
index 5fb79aa..2e559a3 100644 (file)
@@ -460,6 +460,7 @@ sub setup_render_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 1;
index e012569..72c772f 100644 (file)
@@ -214,6 +214,7 @@ sub setup_show_form_action_bar {
       ],
     );
   }
+  $::request->layout->add_javascripts('kivi.Validator.js');
 }
 
 sub setup_list_action_bar {