From bf231cac782b2e8272a6cc073318ef1e40311a19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 13 Oct 2017 15:29:04 +0200 Subject: [PATCH] kivi.Validator: In Controller eingebunden, die validate_form benutzen ... alle die auf "ack validate_form" in SL/Controller matchen --- SL/Controller/Buchungsgruppen.pm | 1 + SL/Controller/DeliveryTerm.pm | 1 + SL/Controller/PaymentTerm.pm | 1 + SL/Controller/SimpleSystemSetting.pm | 1 + SL/Controller/Taxzones.pm | 1 + 5 files changed, 5 insertions(+) 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 { -- 2.20.1