Author: itthkjer
Date: 2006-04-25 12:02:18 +0200 (Tue, 25 Apr 2006)
New Revision: 2792

Modified:
   trunk/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp
Log:
call checkTab() on onload for infopages

Modified: trunk/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp
===================================================================
--- trunk/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp   2006-04-24 
12:48:13 UTC (rev 2791)
+++ trunk/src/webapp/WEB-INF/jsp/decorators/mainDecorator.jsp   2006-04-25 
10:02:18 UTC (rev 2792)
@@ -74,9 +74,9 @@
 </head>
 
 
-<body onload="<%if (currentC.equals("y") || currentC.equals("yip") || 
currentC.equals("yipticker") || currentC.equals("w") || currentC.equals("wip")) 
{%>init();<%}%>">
+<body onload="<%if (currentC.equals("y") || currentC.equals("yipticker") || 
currentC.equals("w") ) {%>init();<%} else if (currentC.equals("yip") || 
currentC.equals("wip")) {%>init(); checkTab();<% } %>">
+     
 
-
     <% // sitesearch
     final VelocityEngine engine = VelocityResultHandler.getEngine(site);
     final Template template = VelocityResultHandler.getTemplate(engine, site, 
"/pages/main");

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to