[portal-commits] JBoss Portal SVN: r12934 - branches/JBoss_Portal_Branch_2_7/core/src/bin/portal-core-war/js.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Tue Mar 3 14:26:22 EST 2009


Author: wesleyhales
Date: 2009-03-03 14:26:22 -0500 (Tue, 03 Mar 2009)
New Revision: 12934

Modified:
   branches/JBoss_Portal_Branch_2_7/core/src/bin/portal-core-war/js/login.js
Log:
remove debug

Modified: branches/JBoss_Portal_Branch_2_7/core/src/bin/portal-core-war/js/login.js
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/bin/portal-core-war/js/login.js	2009-03-03 17:46:12 UTC (rev 12933)
+++ branches/JBoss_Portal_Branch_2_7/core/src/bin/portal-core-war/js/login.js	2009-03-03 19:26:22 UTC (rev 12934)
@@ -29,9 +29,7 @@
 
 JBossPortal.login = function() {
 
-
     //namespace login functions and variables
-
     var isModal = true;
 
     return{
@@ -45,13 +43,9 @@
          * @return {void}
          */
         displayStatus : function() {
-            alert(window.parent.frames.length);
             if (window.parent.frames.length >= 1)
             {
                 //loaded as modal
-                //hide the error messages bix, because you will not get them in modal
-                //document.getElementById('login-error-message').style.display = 'none';
-                //document.getElementById('login-error-message').style.visibility = 'hidden';
             }
             else
             {
@@ -62,12 +56,6 @@
                     {
                         document.body.style.paddingTop = ((document.documentElement.clientHeight / 2) - document.getElementById('login-content').scrollHeight) + 'px';
                     }
-//                    else
-//                    {
-//                        //for ie7
-//                        alert((document.getElementById('login-content').offsetHeight - (document.body.clientHeight / 2)) + 'px');
-//                        document.body.style.paddingTop = ((document.getElementById('login-content').offsetHeight - (document.body.clientHeight / 2)) + 'px');
-//                    }
                 }
                 catch(e)
                 {




More information about the portal-commits mailing list