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

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Apr 18 13:38:15 MST 2007


Author: pari
Date: Wed Apr 18 15:38:14 2007
New Revision: 702

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=702
Log:
minor fix: alert box is not being displayed until the system is actually rebooted

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=702&r1=701&r2=702
==============================================================================
--- branches/aadk/config/home.html (original)
+++ branches/aadk/config/home.html Wed Apr 18 15:38:14 2007
@@ -192,7 +192,8 @@
 
 function doReboot() {
 	if (confirm("Are you sure you want to reboot the appliance?")) {
-		parent.astmanEngine.run_tool("/bin/reboot",onSuccess = function() { alert("Rebooting!"); } );
+		parent.gui_feedback("Rebooting!","blue","40000");
+		parent.astmanEngine.run_tool("/bin/reboot",onSuccess = function() { } );
 	}
 }
 



More information about the asterisk-gui-commits mailing list