Pman.Dialog.BuilderAdd.bjs
[Pman.Builder] / Pman.Dialog.BuilderAdd.bjs
index 258fc63..82462c9 100644 (file)
@@ -8,8 +8,8 @@
  "items" : [
   {
    "modal" : true,
-   "xtype" : "LayoutDialog",
    "title" : "Add Node",
+   "xtype" : "LayoutDialog",
    "width" : 400,
    "$ xns" : "Roo",
    "closable" : false,
      "items" : [
       {
        "listeners" : {
-        "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}"
+        "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}"
        },
        "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 ?",
+         "xtype" : "FieldSet",
          "labelWidth" : 140,
          "$ xns" : "Roo.form",
          "items" : [
@@ -68,8 +68,8 @@
              "items" : [
               {
                "$ url" : "baseURL + '/Builder/ERM.php'",
-               "method" : "GET",
                "xtype" : "HttpProxy",
+               "method" : "GET",
                "$ xns" : "Roo.data",
                "* prop" : "proxy"
               },