From: Sven Schöling Date: Fri, 13 Oct 2017 13:29:04 +0000 (+0200) Subject: kivi.Validator: In Controller eingebunden, die validate_form benutzen X-Git-Tag: release-3.5.4~698 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bf231cac782b2e8272a6cc073318ef1e40311a19;p=kivitendo-erp.git kivi.Validator: In Controller eingebunden, die validate_form benutzen ... alle die auf "ack validate_form" in SL/Controller matchen --- diff --git a/SL/Controller/Buchungsgruppen.pm b/SL/Controller/Buchungsgruppen.pm index 55e0fab89..a608a6eab 100644 --- a/SL/Controller/Buchungsgruppen.pm +++ b/SL/Controller/Buchungsgruppen.pm @@ -223,6 +223,7 @@ sub setup_show_form_action_bar { ], ); } + $::request->layout->add_javascripts('kivi.Validator.js'); } sub setup_list_action_bar { diff --git a/SL/Controller/DeliveryTerm.pm b/SL/Controller/DeliveryTerm.pm index 47392d947..d566b5c9f 100644 --- a/SL/Controller/DeliveryTerm.pm +++ b/SL/Controller/DeliveryTerm.pm @@ -166,6 +166,7 @@ sub setup_form_action_bar { ], ); } + $::request->layout->add_javascripts('kivi.Validator.js'); } 1; diff --git a/SL/Controller/PaymentTerm.pm b/SL/Controller/PaymentTerm.pm index bf3083d01..4f4c6ca89 100644 --- a/SL/Controller/PaymentTerm.pm +++ b/SL/Controller/PaymentTerm.pm @@ -173,6 +173,7 @@ sub setup_form_action_bar { ], ); } + $::request->layout->add_javascripts('kivi.Validator.js'); } 1; diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index 5fb79aaab..2e559a31d 100644 --- a/SL/Controller/SimpleSystemSetting.pm +++ b/SL/Controller/SimpleSystemSetting.pm @@ -460,6 +460,7 @@ sub setup_render_form_action_bar { ], ); } + $::request->layout->add_javascripts('kivi.Validator.js'); } 1; diff --git a/SL/Controller/Taxzones.pm b/SL/Controller/Taxzones.pm index e0125695c..72c772fd6 100644 --- a/SL/Controller/Taxzones.pm +++ b/SL/Controller/Taxzones.pm @@ -214,6 +214,7 @@ sub setup_show_form_action_bar { ], ); } + $::request->layout->add_javascripts('kivi.Validator.js'); } sub setup_list_action_bar {