pari: branch 2.0 r4094 - /branches/2.0/config/js/pbx.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Nov 11 12:26:24 CST 2008


Author: pari
Date: Tue Nov 11 12:26:23 2008
New Revision: 4094

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4094
Log:

 Add reload alert box in debug mode



Modified:
    branches/2.0/config/js/pbx.js

Modified: branches/2.0/config/js/pbx.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=4094&r1=4093&r2=4094
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Tue Nov 11 12:26:23 2008
@@ -161,7 +161,12 @@
 			sessionData.continueParsing = false ;
 			UPDATES.callActions( function(){
 				var t = ASTGUI.cliCommand('dialplan reload') ;
-				setTimeout( function(){ window.location.reload(); } , 500 );
+				setTimeout( function(){
+					if( sessionData.DEBUG_MODE ){
+						alert('updated extensions.conf - from readcfg.checkEssentials()::check_For_Contexts \n Click OK to Reload');
+					}
+					window.location.reload(); 
+				} , 500 );
 			} );
 			return ;
 		}




More information about the asterisk-gui-commits mailing list