pari: trunk r1283 - in /trunk/config: cfgbasic.html home.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Aug 1 13:40:12 CDT 2007


Author: pari
Date: Wed Aug  1 13:40:12 2007
New Revision: 1283

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1283
Log:
BugFix: http://bugs.digium.com/view.php?id=10140
        Unable to set password during initial login


Modified:
    trunk/config/cfgbasic.html
    trunk/config/home.html

Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?view=diff&rev=1283&r1=1282&r2=1283
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Wed Aug  1 13:40:12 2007
@@ -186,6 +186,7 @@
 
 
 function pingevery(a){
+	window.setTimeout(makeping, 1000);
 	keepPinging = setInterval( makeping, a*250 );
 }
 

Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?view=diff&rev=1283&r1=1282&r2=1283
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Wed Aug  1 13:40:12 2007
@@ -64,6 +64,11 @@
 
 function loggedOn() {
 	if ((parent.loggedon == 1) && (localloggedon == 1)){ return; }
+	if(!parent.eventeater.pingstatus){
+		parent.eventeater.pingstatus = true;
+		parent.pingevery(60);
+	}
+
 	if(_$('secret').value=="password"){
 		parent.loggedon = 1;
 		localloggedon = 1;
@@ -78,11 +83,6 @@
 
 	if( parent.asterisk_guitools_inextconf == 0){
 		checkessentials();
-	}
-
-	if(!parent.eventeater.pingstatus){
-		parent.eventeater.pingstatus = true;
-		parent.pingevery(60);
 	}
 
 	parent.setLoggedOn(1);




More information about the asterisk-gui-commits mailing list