pari: trunk r46 - /trunk/config/queues.html
asterisk-gui-commits at lists.digium.internal
asterisk-gui-commits at lists.digium.internal
Tue Oct 3 15:20:11 CDT 2006
Author: pari
Date: Tue Oct 3 15:20:11 2006
New Revision: 46
URL: http://svn.digium.com/view/asterisk-gui?rev=46&view=rev
Log:
Guess I fixed my silly mistake of [array.length + 1] in queues.html
Modified:
trunk/config/queues.html
Modified: trunk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/queues.html?rev=46&r1=45&r2=46&view=diff
==============================================================================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Tue Oct 3 15:20:11 2006
@@ -306,12 +306,12 @@
add_extension( $('name').value ); // add in extensions.conf
//add to stored names & fields
r = queuenames.length;
- queueagents[r+1] = new Array;
- queuenames[r+1] = $('name').value ;
+ queueagents[r] = new Array;
+ queuenames[r] = $('name').value ;
q =0;
for (k=0;k< $('agents').length ;k++ ){
if( $('agents').options[k].selected ){
- queueagents [r+1][q] = $('agents').options[k].innerHTML.substr(0,4);
+ queueagents [r][q] = $('agents').options[k].innerHTML.substr(0,4);
q = q+1;
}
}
@@ -452,4 +452,4 @@
</tr>
</table>
</div>
-</body>
+</body>
More information about the asterisk-gui-commits
mailing list