espiceland: branch 2.0 r5147 - /branches/2.0/config/js/pbx.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Jan 21 09:47:20 CST 2011


Author: espiceland
Date: Fri Jan 21 09:47:17 2011
New Revision: 5147

URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5147
Log:
Print a more helpful error message when dahdi_guiread.conf cannot be read.

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

Modified: branches/2.0/config/js/pbx.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=5147&r1=5146&r2=5147
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Fri Jan 21 09:47:17 2011
@@ -215,9 +215,9 @@
 				sessionData.continueParsing = false ;
 				ASTGUI.systemCmd( sessionData.directories.app_dahdi_genconf , function(){
 					if( sessionData.DEBUG_MODE ){
-						alert( 'ran ' + sessionData.directories.app_dahdi_genconf + ' \n Click OK to Reload' );
+						alert( 'Error reading ' + ASTGUI.globals.dahdiIncludeFile + ': ' + s + 'Ran ' + sessionData.directories.app_dahdi_genconf + '. Click OK to Reload' );
 					}
-					window.location.reload() ;
+					window.location.reload();
 				});
 				return;
 			}else{




More information about the asterisk-gui-commits mailing list