var me = this,
boxes = me.getBoxes(),
data = [];
- Ext.Array.forEach(boxes, function(box){
+ Ext.Array.forEach(boxes, function(box) {
if (box.getValue()) {
data.push(box.inputValue);
}
/* because above is hotplug an array */
if (data.length === 0) {
- return { 'hotplug':'0' };
+ return { 'hotplug': '0' };
} else {
return { 'hotplug': data.join(',') };
}