Author: tyrell
Date: Wed Mar 12 04:41:59 2008
New Revision: 14738

Log:

Fiixng MASHUP-712

Modified:
   trunk/mashup/java/modules/www/header.jsp

Modified: trunk/mashup/java/modules/www/header.jsp
==============================================================================
--- trunk/mashup/java/modules/www/header.jsp    (original)
+++ trunk/mashup/java/modules/www/header.jsp    Wed Mar 12 04:41:59 2008
@@ -27,7 +27,7 @@
     var isUserLoggedIn = <%=RegistryUtils.isLoggedIn(registry)%>;
     var thisPage = '<%=thisPage%>';
 
-    if((thisPage=='signin.jsp') || (thisPage=='register_self.jsp')){
+    if ((thisPage == 'signin.jsp') || (thisPage == 'register_self.jsp')) {
         redirectToHttps("<%=thisPage%>?firstcall=true");
     }
 
@@ -37,15 +37,17 @@
         redirectToHttp("<%=thisPage%>");
     }
 
-    window.onload = function() {
+    function initTooltips() {
         enableTooltips();
 
         YAHOO.util.Event.onContentReady('doc3', function() {
             if (!isUserLoggedIn) {
-                forceShowTooltip(document.getElementById("link_signed_out"));  
               
+                forceShowTooltip(document.getElementById("link_signed_out"));
             }
         });
-    };
+    }
+
+    window.setTimeout('initTooltips();', 1000);
 
 </script>
 <div id="banner">

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to