listeners : {
show : function (_self)
{
- if (_this.isBuilder) {
- _this.data = { id : 2, comptype : 'SUPPLIER' }
- }
+
}
},
xns : Roo,
xtype : 'Form',
method : 'POST',
style : 'margin: 10px;',
- url : baseURL + '/Roo/Core_enum.php',
+ url : baseURL + '/Roo/Core_company.php',
listeners : {
actioncomplete : function (_self, action)
{
_this.form.reset();
return;
}
+
if (action.type == 'setdata') {
- var title = _this.data.title || _this.data.etype;
- _this.dialog.setTitle("Delete selected " + title + " and merge data with");
+ _this.dialog.setTitle("Delete selected " + _this.data.name + " and merge data with");
return;
}