projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fedfc38
)
ActionBar: Warnungen wegen Funktionsüberschreibung vermeiden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 17 Jan 2017 10:15:19 +0000
(11:15 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:44:01 +0000
(10:44 +0100)
SL/Layout/ActionBar/Action.pm
patch
|
blob
|
history
diff --git
a/SL/Layout/ActionBar/Action.pm
b/SL/Layout/ActionBar/Action.pm
index
3707dcf
..
4243b65
100644
(file)
--- a/
SL/Layout/ActionBar/Action.pm
+++ b/
SL/Layout/ActionBar/Action.pm
@@
-4,7
+4,6
@@
use strict;
use parent qw(Rose::Object);
use SL::Presenter;
-require SL::Layout::ActionBar::Submit;
use Rose::Object::MakeMethods::Generic (
'scalar --get_set_init' => [ qw(id params text) ],
@@
-24,6
+23,8
@@
sub script {
sub from_params {
my ($class, $data) = @_;
+ require SL::Layout::ActionBar::Submit;
+
my ($text, %params) = @$data;
return if exists($params{only_if}) && !$params{only_if};
return if exists($params{not_if}) && $params{not_if};