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:
2438aa4
)
Javascripmenü: Nur Icons ausliefern, die auch da sind.
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 22 Feb 2012 11:56:53 +0000
(12:56 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 22 Feb 2012 11:56:53 +0000
(12:56 +0100)
Vermeidet exzessive 404 Fehler
bin/mozilla/menunew.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/menunew.pl
b/bin/mozilla/menunew.pl
index
751164e
..
a1f9a8f
100644
(file)
--- a/
bin/mozilla/menunew.pl
+++ b/
bin/mozilla/menunew.pl
@@
-152,6
+152,9
@@
sub _icon_path {
$size ||= 16;
- return "image/icons/${size}x${size}/$label";
+ my $img = "image/icons/${size}x${size}/$label";
+
+ return unless -f $img;
+ return $img;
}