pari: trunk r464 - /trunk/config/home.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Mar 22 09:19:38 MST 2007


Author: pari
Date: Thu Mar 22 11:19:38 2007
New Revision: 464

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=464
Log:
using the same logout function for both home.html logout button and the logout link in the header

Modified:
    trunk/config/home.html

Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?view=diff&rev=464&r1=463&r2=464
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Thu Mar 22 11:19:38 2007
@@ -49,10 +49,6 @@
 		window.location.href="options.html";
 		return;
 	}
-
-	//if(!asterisk_guitools  || !correct version || !hasSetup ){
-			// redirect to setup
-	//}
 
 	if( parent.asterisk_guitools_inextconf == 0){
 		checkessentials();
@@ -134,9 +130,7 @@
 }
 
 function doLogoff() {
-	if(!confirm("Are you sure ?")){ return true; }
-	_$('statusbar').innerHTML = "<i>Logging off...</i>";
-	parent.astmanEngine.sendRequest('action=logoff', demo.logoffs);
+	parent.Logoff();
 }
 
 function localajaminit() {	



More information about the asterisk-gui-commits mailing list