xns: Roo,
closable : false,
collapsible : false,
- height : 230,
+ height : 330,
+ modal : true,
resizable : false,
title : "Edit / Create core_enum",
- width : 400,
- modal : true,
+ width : 500,
items : [
{
xtype: 'ContentPanel',
actioncomplete : function(_self,action)
{
if (action.type == 'setdata') {
- //_this.dialog.el.mask("Loading");
- //this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+
+ this.load({ method: 'GET', params: { '_id' : _this.data.id }});
return;
}
if (action.type == 'load') {
- _this.dialog.el.unmask();
+
return;
}
if (action.type =='submit') {
-
- _this.dialog.el.unmask();
+
_this.dialog.hide();
if (_this.callback) {
labelAlign : 'top',
method : 'POST',
style : 'margin:10px;',
- url : baseURL + '/Roo/core_enum.php',
+ url : baseURL + '/Roo/builder_part',
items : [
{
- xtype: 'TextField',
+ xtype: 'TextArea',
xns: Roo.form,
- fieldLabel : 'Display name',
- name : 'display_name',
- width : 200
+ fieldLabel : 'Paste BJS code from export',
+ height : 200,
+ name : 'json',
+ width : 410
},
{
xtype: 'Hidden',