Skip to content
This repository
Browse code

Moving slide menu js to MenuTag for optimization. It has no sense els…

…ewhere
  • Loading branch information...
commit 537d8248680ab6b6b82edf4817d17a58ec013b7e 1 parent 623f917
Jeronimo Paoletti authored
1  modules/jpm-struts1-jar/src/main/java/jpaoletti/jpm/struts/tags/MenuTag.java
@@ -28,6 +28,7 @@ public int doStartTag() throws JspException {
28 28 try {
29 29 final JspWriter out = pageContext.getOut();
30 30 out.println("<div id='menu' class='jqueryslidemenu'>");
  31 + out.println("<script type='text/javascript' src='" + getContextPath() + "/js/jqueryslidemenu.js'></script>");
31 32 out.println("<ul>");
32 33
33 34 if (pmsession != null && pmsession.getMenu() != null) {
1  modules/jpm-struts1/src/main/webapp/WEB-INF/tags/page.tag
@@ -15,7 +15,6 @@
15 15 <link rel="shortcut icon" href="${es.templatePath}/img/favicon.ico" />
16 16 <script type="text/javascript" src="${es.context_path}/js/jquery-1.7.1.min.js"></script>
17 17 <script type="text/javascript" src="${es.context_path}/js/jquery.dataTables.js"></script>
18   - <script type="text/javascript" src="${es.context_path}/js/jqueryslidemenu.js"></script>
19 18 <script type="text/javascript" src="${es.context_path}/js/misc.js"></script>
20 19 <script type="text/javascript" src="${es.context_path}/js/jquery.hotkeys.js"></script>
21 20 <script type="text/javascript" src="${es.context_path}/js/jquery-ui-1.8.16.custom.min.js"></script>

0 comments on commit 537d824

Please sign in to comment.
Something went wrong with that request. Please try again.