Pman.Dialog.BuilderAppEdit.bjs
authorAlan Knowles <alan@akbkhome.com>
Mon, 24 Oct 2011 06:08:09 +0000 (14:08 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 24 Oct 2011 06:08:09 +0000 (14:08 +0800)
Pman.Dialog.BuilderAppEdit.bjs
Pman.Dialog.BuilderAppEdit.js
Pman.Dialog.BuilderAppEdit.js

Pman.Dialog.BuilderAppEdit.bjs
Pman.Dialog.BuilderAppEdit.js

index a29ee61..3266303 100644 (file)
                     "|xns": "Roo",
                     "items": [
                         {
-                            "xtype": "Form",
-                            "style": "margin: 5px",
-                            "|url": "baseURL + '/Roo/Builder_app.php'",
-                            "method": "POST",
                             "listeners": {
                                 "|actionfailed": "function (_self, action)\n{\n    _this.dialog.el.unmask();\n    Pman.standardActionFailed(_self, action);\n}\n",
                                 "|actioncomplete": "function (_self, action)\n{\n   if (action.type == 'submit') {\n      _this.dialog.el.unmask();\n     _this.dialog.hide();\n   \n    if (_this.callback) {\n       _this.callback.call(_this, _this.form.getValues());\n    }\n    _this.form.reset();\n     }\n}\n",
                                 "|rendered": "function (_self)\n{\n    _this.form = _self;\n}\n"
                             },
+                            "method": "POST",
+                            "style": "margin: 5px",
+                            "xtype": "Form",
+                            "|url": "baseURL + '/Roo/Builder_app.php'",
                             "|xns": "Roo.form",
                             "items": [
                                 {
index 104626a..5df6596 100644 (file)
@@ -55,9 +55,6 @@ Pman.Dialog.BuilderAppEdit = {
                         {
                             xtype: 'Form',
                             xns: Roo.form,
-                            style : 'margin: 5px',
-                            url : baseURL + '/Roo/Builder_app.php',
-                            method : 'POST',
                             listeners : {
                                 actionfailed : function (_self, action)
                                 {
@@ -81,6 +78,9 @@ Pman.Dialog.BuilderAppEdit = {
                                     _this.form = _self;
                                 }
                             },
+                            method : 'POST',
+                            style : 'margin: 5px',
+                            url : baseURL + '/Roo/Builder_app.php',
                             items : [
                                 {
                                     xtype: 'Hidden',