geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1365894 - /geronimo/server/branches/2.2/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/welcome/welcomeNormal.jsp
Date Thu, 26 Jul 2012 07:01:34 GMT
Author: genspring
Date: Thu Jul 26 07:01:33 2012
New Revision: 1365894

URL: http://svn.apache.org/viewvc?rev=1365894&view=rev
Log:
GERONIMO-5729 Access the wrong web console page should get appropriate error message, patch
from Shenghao Fang

Modified:
    geronimo/server/branches/2.2/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/welcome/welcomeNormal.jsp

Modified: geronimo/server/branches/2.2/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/welcome/welcomeNormal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/welcome/welcomeNormal.jsp?rev=1365894&r1=1365893&r2=1365894&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/welcome/welcomeNormal.jsp
(original)
+++ geronimo/server/branches/2.2/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/welcome/welcomeNormal.jsp
Thu Jul 26 07:01:33 2012
@@ -20,6 +20,11 @@
 <fmt:setBundle basename="consolebase"/>
 <portlet:defineObjects/>
 
+<script language="javascript">
+    if (window.top == window.self) {
+        window.location="/console/portal/0/Welcome?noxssShowTree=true";
+    }
+</script>
 
 <table style="width:100%"> <!-- an IE rendering fix -->
     <tr>



Mime
View raw message