var combofields_name = add.combofields[1].name;
var old = reader.form[col];
reader.form[col] = JSON.parse(JSON.stringify(add.combo)); // clone
- reader.form[col].queryParam = 'query[' + combofields_name + ']',// SET WHEN USED
- reader.form[col].fieldLabel = old.fieldLabel, // SET WHEN USED
- reader.form[col].hiddenName : old.name, // SET WHEN USED eg. project_id
- reader.form[col].name : old.name + '_' + combofields_name, // SET WHEN USED eg. project_id_name
+ reader.form[col].queryParam = 'query[' + combofields_name + ']';// SET WHEN USED
+ reader.form[col].fieldLabel = old.fieldLabel; // SET WHEN USED
+ reader.form[col].hiddenName : old.name; // SET WHEN USED eg. project_id
+ reader.form[col].name : old.name + '_' + combofields_name; // SET WHEN USED eg. project_id_name
- reader.form[col].tpl = '<div class="x-grid-cell-text x-btn button"><b>{' + combofields_name +'}</b> </div>', // SET WHEN USED
+ reader.form[col].tpl = '<div class="x-grid-cell-text x-btn button"><b>{' + combofields_name +'}</b> </div>'; // SET WHEN USED
};