3 "name": "Pman.Dialog.CmsTranslateTemplates",
6 "path": "/home/chris/gitlive/Pman.Cms/Pman.Dialog.CmsTranslateTemplates.bjs",
17 "xtype": "LayoutDialog",
22 "title": "This text is with {TEMPLATE VARIABLE}, PLEASE BE CAREFUL EDITING. What\\'s change?",
24 "xtype": "LayoutRegion",
28 "xtype": "ContentPanel",
37 "|actionfailed": "function (_self, action)\n{\n _this.dialog.el.unmask();\n Pman.standardActionFailed(_self, action);\n}\n",
38 "|actioncomplete": "function (_self, action)\n{\n \n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n if (_this.data.id) {\n this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n }\n return;\n }\n if (action.type == 'load') {\n return;\n }\n if (action.type =='submit') {\n _this.dialog.hide();\n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n}\n",
39 "|rendered": "function (form)\n{\n _this.form = form;\n}"
42 "style": "margin: 5px",
44 "|url": "baseURL + '/Roo/Ris_location.php'",
60 "xtype": "DisplayField",
72 "fieldLabel": "Original",
74 "value": "teststsetetsetsete",
86 "fieldLabel": "Translation",
102 "|click": "function() {\n _this.form.reset();\n _this.dialog.hide();\n}"
108 "|click": "function() {\n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction('submit');\n \n}"
110 "*prop": "buttons[]",