{ "id": "roo-file-125", "name": "Pman.Dialog.CmsImage", "parent": "", "title": "Cms - Edit Image", "path": "/home/chris/gitlive/Pman.Cms/Pman.Dialog.CmsImage.bjs", "items": [ { "xtype": "LayoutDialog", "|xns": "Roo", "background": true, "width": 450, "height": 120, "title": "Edit Image Details", "modal": true, "resizable": false, "collapsible": false, "closable": false, "listeners": {}, "items": [ { "xtype": "LayoutRegion", "*prop": "center", "titlebar": false, "|xns": "Roo" }, { "xtype": "ContentPanel", "background": true, "fitToFrame": true, "region": "center", "listeners": {}, "|xns": "Roo", "items": [ { "listeners": { "|actionfailed": "function (_self, action)\n{\n _this.dialog.el.unmask();\n Pman.standardActionFailed(_self, action);\n}\n", "|actioncomplete": "function (_self, action)\n{\n \n if (action.type =='submit') {\n \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 return;\n }\n}\n", "|rendered": "function (_self)\n{\n _this.form = _self;\n}\n" }, "method": "POST", "style": "margin: 5px", "xtype": "Form", "|url": "baseURL + '/Roo/Images.php'", "|xns": "Roo.form", "items": [ { "name": "linkurl", "fieldLabel": "Link URL", "width": 300, "xtype": "TextField", "listeners": {}, "vtype": "url", "|xns": "Roo.form" }, { "name": "id", "xtype": "Hidden", "listeners": {}, "|xns": "Roo.form" } ] } ] }, { "text": "Cancel", "xtype": "Button", "|xns": "Roo", "listeners": { "|click": " function() {\n\n _this.form.reset();\n\n _this.dialog.hide();\n\n }\n" }, "*prop": "buttons[]" }, { "listeners": { "|click": " function() {\n\n _this.dialog.el.mask(\"Saving\");\n\n _this.form.doAction(\"submit\");\n\n }\n" }, "*prop": "buttons[]", "text": "OK", "xtype": "Button", "|xns": "Roo" } ] } ], "permname": "", "modOrder": "001" }