From 2cac4306081513c991f7a84ed7c72c7d852ff019 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 26 Oct 2016 11:26:27 +0200 Subject: [PATCH] ActionBar/Submit: externe ids erlauben --- SL/Layout/ActionBar/Action.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/Layout/ActionBar/Action.pm b/SL/Layout/ActionBar/Action.pm index e73387769..1ee9a3e95 100644 --- a/SL/Layout/ActionBar/Action.pm +++ b/SL/Layout/ActionBar/Action.pm @@ -47,8 +47,13 @@ sub p { SL::Presenter->get } +sub init_params { + +{} +} + # unique id to tie div and javascript together sub init_id { + $_[0]->params->{id} // $_[0]->p->name_to_id('action[]') } -- 2.20.1