Author: sshyrkov
Date: Tue Jun  5 20:26:42 2007
New Revision: 17465

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D17465&repname=
=3Djahia
Log:
JAHIA-1991: Admin: leaving an admin entry leads to the wrong tab.
Correct strecher tab is opened now

Modified:
    trunk/core/src/webapp/jsp/jahia/administration/menu.jsp

Modified: trunk/core/src/webapp/jsp/jahia/administration/menu.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/webapp=
/jsp/jahia/administration/menu.jsp&rev=3D17465&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/webapp/jsp/jahia/administration/menu.jsp (original)
+++ trunk/core/src/webapp/jsp/jahia/administration/menu.jsp Tue Jun  5 20:2=
6:42 2007
@@ -48,25 +48,11 @@
     Enumeration sitesJavaScript    =3D  sitesList.elements();
 =

     boolean     superAdminSettings =3D  false;
-    String      switchModeAction   =3D  "server";
+    int         stretcherToOpen   =3D  configJahia !=3D null && configJahi=
a.booleanValue() ? 0 : 1;
 =

     JahiaData jData =3D (JahiaData)request.getAttribute("org.jahia.data.Ja=
hiaData");
 =

-        if(configJahia !=3D null) {
-            if(configJahia.booleanValue()) {
-                superAdminSettings =3D true;
-                if ( sitesList.size()>0 ){
-                    switchModeAction   =3D "sites";
-                }
-            }
-        }
-
     Integer daysLeft =3D (Integer) request.getAttribute("daysLeft");
-    =

-    int stretcherToOpen =3D 1;
-    if ("server".equals(switchModeAction)) {
-        stretcherToOpen =3D 0;
-    }
 =

     JahiaACLManagerService aclService =3D ServicesRegistry.getInstance().g=
etJahiaACLManagerService();
     ParamBean jParams =3D (ParamBean) request.getAttribute("org.jahia.para=
ms.ParamBean");

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to