_this.form.doAction('submit', {
params: {
ts : Math.random()
- }
+ }
});
_this.dialog.haveProgress = 0; // set to show..
_this.dialog.uploadProgress.defer(1000, _this.dialog);
},
{
xtype : 'ComboBox',
+ actionMode : 'fieldEl',
allowBlank : true,
alwaysQuery : true,
displayField : 'display_name',
tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{display_name}</b> {name}</div>',
triggerAction : 'all',
typeAhead : true,
- valueField : 'id',
+ valueField : 'name',
width : 250,
xns : Roo.form,
'|xns' : 'Roo.form',
beforeload : function (_self, o){
o.params = o.params || {};
- o.params['etype'] = _this.data.etype;
+ o.params.etype = 'ImageType';
- o.params['!id'] = _this.form.findField('id').getValue();
- // set more here
+ o.params.active = 1;
}
},
xns : Roo.data,