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:
69f4ba4
)
Actionbar nicht ohne content rendern
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 18 Oct 2016 09:02:14 +0000
(11:02 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000
(10:04 +0100)
nötig für korrekte top margins wenn fixiert
SL/Layout/ActionBar.pm
patch
|
blob
|
history
diff --git
a/SL/Layout/ActionBar.pm
b/SL/Layout/ActionBar.pm
index
edbd44e
..
edb8365
100644
(file)
--- a/
SL/Layout/ActionBar.pm
+++ b/
SL/Layout/ActionBar.pm
@@
-18,6
+18,7
@@
sub pre_content {
my ($self) = @_;
my $content = join '', map { $_->render } @{ $self->actions };
+ return if !$content;
$::request->presenter->html_tag('div', $content, class => HTML_CLASS);
}