projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Präzedenz von Layouts beim Javascript einbinden geändert
[kivitendo-erp.git]
/
SL
/
Layout
/
Css.pm
diff --git
a/SL/Layout/Css.pm
b/SL/Layout/Css.pm
index
883353a
..
dc0bf05
100644
(file)
--- a/
SL/Layout/Css.pm
+++ b/
SL/Layout/Css.pm
@@
-51,7
+51,7
@@
sub print_menu {
my $menu_title = $::locale->text($item);
my $menu_text = $menu_title;
my $menu_title = $::locale->text($item);
my $menu_text = $menu_title;
- if ($menu_item->{"submenu"} || !defined($menu_item->{"module"})) {
+ if ($menu_item->{"submenu"} || !defined($menu_item->{"module"})
&& !defined($menu_item->{href})
) {
my $h = $self->print_menu("${parent}${item}", $depth * 1 + 1)."\n";
if (!$parent) {
my $h = $self->print_menu("${parent}${item}", $depth * 1 + 1)."\n";
if (!$parent) {
@@
-96,7
+96,7
@@
sub menuitem_v3 {
my @vars = qw(module action target href);
if ($menuitem->{href}) {
my @vars = qw(module action target href);
if ($menuitem->{href}) {
- $str = qq|<a href=$menuitem->{href}|;
+ $str = qq|<a href=
"
$menuitem->{href}|;
@vars = qw(module target href);
}
@vars = qw(module target href);
}