pari: branch 2.0 r4424 - /branches/2.0/config/js/welcome.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Jan 13 17:05:25 CST 2009


Author: pari
Date: Tue Jan 13 17:05:25 2009
New Revision: 4424

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

 fix: lines[line_index] is undefined in welcome.js



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

Modified: branches/2.0/config/js/welcome.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/welcome.js?view=diff&rev=4424&r1=4423&r2=4424
==============================================================================
--- branches/2.0/config/js/welcome.js (original)
+++ branches/2.0/config/js/welcome.js Tue Jan 13 17:05:25 2009
@@ -324,6 +324,7 @@
 			}
 		}
 
+		if( !lines[line_index] ) lines[line_index] = '';
 		//line #2 (index=1) will either be 'Members:' or 'No Members'
 		if (lines[line_index].contains('Members:')) {
 			line_index++;




More information about the asterisk-gui-commits mailing list