pari: branch aadk r831 - /branches/aadk/config/networking.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Apr 30 14:04:35 MST 2007


Author: pari
Date: Mon Apr 30 16:04:35 2007
New Revision: 831

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=831
Log:
really ugly hack for networking.sh not exiting pproperly

Modified:
    branches/aadk/config/networking.html

Modified: branches/aadk/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/networking.html?view=diff&rev=831&r1=830&r2=831
==============================================================================
--- branches/aadk/config/networking.html (original)
+++ branches/aadk/config/networking.html Mon Apr 30 16:04:35 2007
@@ -79,7 +79,8 @@
 	}
 
 	networkingcallbacks.savechanges = function(){
-
+		_$('message_text').innerHTML ="Applying Changes ..... ";
+		_$('status_message').style.display = "";
 		var network_params = "/etc/asterisk/scripts/network.params";
 
 		if(_$('DHCP_WAN').checked){var dwv = "on"; }else{var dwv = "off"; }
@@ -101,6 +102,7 @@
 				parent.astmanEngine.run_tool(cmd3,onSuccess = function() {
 					parent.astmanEngine.run_tool(cmd4,onSuccess = function() {
 						parent.astmanEngine.run_tool(cmd5,onSuccess = function() { });
+						setTimeout( function(){ _$('status_message').style.display = ""; window.location.href=window.location.href; }, 3000 );
 					});
 				});
 			});
@@ -114,6 +116,7 @@
 
 	function localajaxinit() {
 		setWindowTitle("Network Settings");
+		showdiv_statusmessage();
 
 		for (var x=0; x < nwfields.length; x++ ) {
 			widgets[nwfields[x]] = $(nwfields[x]);



More information about the asterisk-gui-commits mailing list