From: Sven Schöling Date: Tue, 18 Oct 2016 09:02:14 +0000 (+0200) Subject: Actionbar nicht ohne content rendern X-Git-Tag: release-3.5.4~1406 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0d36a7edcadf3ef0013e96318a28d17b10772082;p=kivitendo-erp.git Actionbar nicht ohne content rendern nötig für korrekte top margins wenn fixiert --- diff --git a/SL/Layout/ActionBar.pm b/SL/Layout/ActionBar.pm index edbd44e8d..edb836553 100644 --- 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); }