0001-portal-agent-add-support-for-submenus-35478.patch
static/portal-agent/js/publik.js | ||
---|---|---|
51 | 51 |
} else if (element.slug !== undefined) { |
52 | 52 |
$(li).find('a').addClass('icon-' + element.slug); |
53 | 53 |
} |
54 |
if (element.sub === true) { |
|
55 |
$(li).addClass('sub'); |
|
56 |
} |
|
54 | 57 |
if (window.location.href.indexOf(element.url) == 0) { |
55 | 58 |
$(li).addClass('active'); |
56 | 59 |
} |
57 |
- |