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:
02f6397
)
ActionBar: Verwendung undefinierter Werte in Tests vermeiden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 27 Feb 2017 15:49:07 +0000
(16:49 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:44:03 +0000
(10:44 +0100)
SL/Layout/Javascript.pm
patch
|
blob
|
history
diff --git
a/SL/Layout/Javascript.pm
b/SL/Layout/Javascript.pm
index
3b170a4
..
85454c4
100644
(file)
--- a/
SL/Layout/Javascript.pm
+++ b/
SL/Layout/Javascript.pm
@@
-55,7
+55,7
@@
sub pre_content {
icon_path => sub { my $simg = "image/icons/svg/$_[0].svg"; my $pimg="image/icons/16x16/$_[0].png"; -f $simg ? $simg : ( -f $pimg ? $pimg : ()) },
max_width => sub { 10 * max map { length $::locale->text($_->{name}) } @{ $_[0]{children} || [] } },
) .
-
$_[0]->sub_layouts_by_name->{actionbar}->pre_content
;
+
($_[0]->sub_layouts_by_name->{actionbar}->pre_content // '')
;
}
sub stylesheets {