"items" : [
{
"modal" : true,
- "title" : "Add Node",
"xtype" : "LayoutDialog",
+ "title" : "Add Node",
"width" : 400,
"$ xns" : "Roo",
"closable" : false,
"items" : [
{
"listeners" : {
- "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n // check if element can be templated or databased..\n \n \n }\n}",
- "rendered" : "function (form)\n{\n _this.form = form;\n}"
+ "rendered" : "function (form)\n{\n _this.form = form;\n}",
+ "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n // check if element can be templated or databased..\n \n \n }\n}"
},
"xtype" : "Form",
"$ xns" : "Roo.form",
"items" : [
{
+ "legend" : "Do you want to create the element?",
"xtype" : "FieldSet",
"style" : "width:350px",
- "legend" : "Do you want to create the element ?",
"labelWidth" : 140,
"$ xns" : "Roo.form",
"items" : [
"items" : [
{
"$ url" : "baseURL + '/Builder/ERM.php'",
- "xtype" : "HttpProxy",
"method" : "GET",
+ "xtype" : "HttpProxy",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
},
'|xns' : 'Roo',
modal : true,
- title : "Add Node",
xtype : 'LayoutDialog',
+ title : "Add Node",
width : 400,
xns : Roo,
closable : false,
xtype : 'Form',
xns : Roo.form,
listeners : {
+ rendered : function (form)
+ {
+ _this.form = form;
+ },
actioncomplete : function (_self, action)
{
if (action.type == 'setdata') {
}
- },
- rendered : function (form)
- {
- _this.form = form;
}
},
items : [
{
'|xns' : 'Roo.form',
+ legend : "Do you want to create the element?",
xtype : 'FieldSet',
style : 'width:350px',
- legend : "Do you want to create the element ?",
labelWidth : 140,
xns : Roo.form,
items : [
proxy : {
'|xns' : 'Roo.data',
url : baseURL + '/Builder/ERM.php',
- xtype : 'HttpProxy',
method : 'GET',
+ xtype : 'HttpProxy',
xns : Roo.data
},
reader : {