3 "name": "Pman.Dialog.CoreImportUrl",
6 "path": "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreImportUrl.bjs",
15 "title": "Import URL",
17 "xtype": "LayoutDialog",
22 "xtype": "LayoutRegion",
27 "xtype": "ContentPanel",
32 "actioncomplete": "function (_self, action)\n{\n if (action.type == 'setdata') {\n if(_this.data.target){\n _this.form.url = baseURL + _this.data.target;\n }\r\n // _this.dialog.el.mask(\"Loading\");\r\n // if(_this.data.id*1 > 0)\r\n // this.load({ method: 'GET', params: { '_id' : _this.data.id }});\r\n \r\n return;\r\n }\r\n if (action.type == 'load') {\r\n \r\n return;\r\n }\r\n if (action.type =='submit') {\r\n \r\n //action.result.data\r\n _this.dialog.hide();\r\n // Roo.log(_this.callback);\r\n if (_this.callback) {\r\n _this.callback.call(_this, action.result.data);\r\n }\r\n _this.form.reset();\r\n return;\r\n }\n}",
33 "rendered": "function (form)\n{\n _this.form= form;\n}"
36 "style": "margin:10px;",
55 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
64 "click": "function (_self, e)\n{\n _this.form.doAction(\"submit\");\n}"