pari: branch 2.0 r3854 - /branches/2.0/config/welcome.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Sep 22 16:32:29 CDT 2008


Author: pari
Date: Mon Sep 22 16:32:28 2008
New Revision: 3854

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

 fixing array iteration


Modified:
    branches/2.0/config/welcome.html

Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=3854&r1=3853&r2=3854
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Mon Sep 22 16:32:28 2008
@@ -369,10 +369,10 @@
 
 			while( meetme_status.length ){
 				var this_line = meetme_status[0];
+				meetme_status.removeFirst();
 				if( this_line.beginsWith('Conf Num') ||  this_line.beginsWith('* Total number') ) continue;
 				var tmp_vars = this_line.split(/\s+/); // ['6302','0001','N/A','00:00:09', 'Static' ]
 				active_conferences[ tmp_vars[0] ] = String( Number(tmp_vars[1]) ) ;
-				meetme_status.removeFirst();
 			}
 		}
 




More information about the asterisk-gui-commits mailing list