From: Sven Schöling Date: Tue, 13 Feb 2018 13:01:20 +0000 (+0100) Subject: Menü: CSS-Klasse an offene Menüeinträge setzen X-Git-Tag: release-3.5.4~465 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ee706e4bb248eada352065dd4662e4109bb43c12;p=kivitendo-erp.git Menü: CSS-Klasse an offene Menüeinträge setzen Damit ist es möglich, in Stylesheets zwischen offenen und geschlossenen Menüs zu unterscheiden. --- diff --git a/templates/webpages/menu/menu.html b/templates/webpages/menu/menu.html index f75035ab9..b37574271 100644 --- a/templates/webpages/menu/menu.html +++ b/templates/webpages/menu/menu.html @@ -1,2 +1,20 @@ [%- USE JSON %] -$(function(){$([% JSON.json(sections) %]).each(function(i,b){var a=$('').append($('').append($('
').addClass(b[3])),$('').append(b[0]));if(b[5])a.attr('href', b[5]);if(b[6])a.attr('target', b[6]);$('#html-menu').append($('