]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/menuv3.pl
Durch feste Breite und viele Einträge bricht das Menü um.
[kivitendo-erp.git] / bin / mozilla / menuv3.pl
index c2fef5df45522b04054197d5cbbcc95f35f519ee..a2b266908afff2f570ecd6fbfbe778ca5dbeba8a 100644 (file)
@@ -116,7 +116,11 @@ sub print_menu {
         $html .= qq|<li><div class="x">${menu_text}</div><ul>${h}</ul></li>\n|;
       }
     } else {
+      if ($depth>1) {
+      $html .= qq|<li class='sub'>|;
+      } else {
       $html .= qq|<li>|;
+      }
       $html .= $menu->menuitem_v3(\%myconfig, $form, "${parent}$item",
                                   { "title" => $menu_title,
                                     "target" => $target });