Commit 150b66f1 by Tuomas Riihimäki

Menus states should be hold per page, not per site.

1 parent 0e84e27d
$(document).ready(function() {
if (PrimeFaces.getCookie("moyaLeftMenu") != null) {
var menuToExpand = PrimeFaces.getCookie("moyaLeftMenu").split(",");
for (i = 0; i < menuToExpand.length; ++i) {
$("#" + menuToExpand[i]).css("display", "block");
}
}
});
\ No newline at end of file
......@@ -21,6 +21,7 @@
<link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/templates/primelayout/css/structual.css" />
<link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/templates/custom_components.css" />
<script type="text/javascript" src="#{request.contextPath}/resources/script/prime_calendar.js"></script>
<script type="text/javascript" src="#{request.contextPath}/resources/script/menufix.js"></script>
<ui:insert name="headerdata" />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!