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:
3e2ecde
)
Bei nicht gefundenen JavaScript-Dateien keine Links erzeugen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 6 Mar 2013 09:34:42 +0000
(10:34 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 6 Mar 2013 09:35:12 +0000
(10:35 +0100)
SL/Layout/Base.pm
patch
|
blob
|
history
diff --git
a/SL/Layout/Base.pm
b/SL/Layout/Base.pm
index
de94ee0
..
bd08d81
100644
(file)
--- a/
SL/Layout/Base.pm
+++ b/
SL/Layout/Base.pm
@@
-130,7
+130,7
@@
sub use_javascript {
sub javascripts {
my ($self) = @_;
- return uniq map { $self->_find_javascript($_) }
+ return uniq
grep { $_ }
map { $self->_find_javascript($_) }
map({ $_->javascripts } $self->sub_layouts), $self->use_javascript;
}