projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kivi.js: CKEditor macht platz für Toolbox, …
[kivitendo-erp.git]
/
SL
/
Layout
/
ActionBar.pm
diff --git
a/SL/Layout/ActionBar.pm
b/SL/Layout/ActionBar.pm
index
8447ec1
..
5345e9e
100644
(file)
--- a/
SL/Layout/ActionBar.pm
+++ b/
SL/Layout/ActionBar.pm
@@
-10,6
+10,8
@@
use SL::Layout::ActionBar::ComboBox;
use SL::Layout::ActionBar::Link;
use SL::Layout::ActionBar::Separator;
use SL::Layout::ActionBar::Link;
use SL::Layout::ActionBar::Separator;
+use SL::Presenter::Tag qw(html_tag);
+
use constant HTML_CLASS => 'layout-actionbar';
use Rose::Object::MakeMethods::Generic (
use constant HTML_CLASS => 'layout-actionbar';
use Rose::Object::MakeMethods::Generic (
@@
-30,14
+32,14
@@
sub pre_content {
my $content = join '', map { $_->render } @{ $self->actions };
return if !$content;
my $content = join '', map { $_->render } @{ $self->actions };
return if !$content;
-
$::request->presenter->
html_tag('div', $content, class => HTML_CLASS);
+ html_tag('div', $content, class => HTML_CLASS);
}
sub javascripts_inline {
join '', map { $_->script } @{ $_[0]->actions };
}
}
sub javascripts_inline {
join '', map { $_->script } @{ $_[0]->actions };
}
-sub javascripts {
+sub
static_
javascripts {
'kivi.ActionBar.js'
}
'kivi.ActionBar.js'
}
@@
-199,7
+201,7
@@
A string type, followed by the parameters needed for that type. Type may be one
C<separator> will use no parameters, the other three will expect one arrayref.
C<separator> will use no parameters, the other three will expect one arrayref.
-Two additional pseu
s
o parameters are supported for those:
+Two additional pseu
d
o parameters are supported for those:
=over 4
=over 4