- var nodes = '';
- var first_iteration = true;
- Ext.Array.each(selected, function(record) {
- if (!first_iteration) {
- nodes += ',';
- }
- first_iteration = false;
-
- nodes += record.data.node;
- if (record.data.priority) {
- nodes += ':' + record.data.priority;
- }
- });