pari: branch aadk r738 - /branches/aadk/config/home.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Apr 24 08:54:12 MST 2007


Author: pari
Date: Tue Apr 24 10:54:11 2007
New Revision: 738

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=738
Log:
Check for default password and guicontext before checking for compact Flash

Modified:
    branches/aadk/config/home.html

Modified: branches/aadk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/home.html?view=diff&rev=738&r1=737&r2=738
==============================================================================
--- branches/aadk/config/home.html (original)
+++ branches/aadk/config/home.html Tue Apr 24 10:54:11 2007
@@ -282,6 +282,7 @@
 
 	_$('message_text').innerHTML = " Checking for Compact Flash ";
 	_$('status_message').style.display ="" ;
+	loggedOn();
 
 	parent.astmanEngine.run_tool(parent.asterisk_guiSysInfo , callback = function() {
 		var opt = { method: 'get', asynchronous: true,
@@ -294,18 +295,16 @@
 				}else{
 					parent.gui_feedback("did not find any Compact Flash mounted");
 				}
-
+	
 				if(m){
 					parent.gui_feedback("Login Successful",'blue',2000);
 					_$('statusbar').innerHTML = "<img src='images/tick.gif'><i>Connected!</i>";
 					parent.astmanEngine.pollEvents();
-					loggedOn();
 				}else{
 					_$('statusbar').innerHTML = "<i>Already connected...</i>";
-					loggedOn();
 					if( window.location.href.match("reload=yes") ){ parent._$('mainscreen').style.display = ''; reload_Config2(); }else{ parent.loadscreen(this); }
 				}
-
+	
 			},
 			onFailure: function(t) { alert("Config Error: " + t.status + ": " + t.statusText); }
 		};



More information about the asterisk-gui-commits mailing list