2 "name" : "Pman.Dialog.AdminLanguagePick",
5 "path" : "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminLanguagePick.bjs",
9 "4994a8ffeba4ac3140beb89e8d41f174" : "Language",
10 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
11 "052ca52fc8eb1bdff3e34de3fa735e35" : "Select a Language",
12 "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
15 "language_name_fieldLabel" : "4994a8ffeba4ac3140beb89e8d41f174"
20 "collapsible" : false,
21 "title" : "Select a Language",
22 "xtype" : "LayoutDialog",
30 "xtype" : "LayoutRegion",
36 "xtype" : "ContentPanel",
41 "|actioncomplete" : "function(_self,action)\n{\n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n //this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\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",
42 "|rendered" : "function (form)\n{\n _this.form= form;\n}\n"
44 "$ url" : "baseURL + '/Roo/INGORE.php'",
47 "style" : "margin:10px;",
53 "triggerAction" : "all",
54 "fieldLabel" : "Language",
55 "displayField" : "title",
56 "hiddenName" : "lang",
57 "valueField" : "code",
63 "name" : "language_name",
67 "beforeload" : "function (_self, o)\n{\n o.params['!code'] = 'en'; // exclude english from the list (it's the default?)\n}"
74 "$ url" : "baseURL + '/Core/I18n/Lang'",
75 "xtype" : "HttpProxy",
83 "xtype" : "JsonReader",
84 "$ fields" : "[\n {\n 'name': 'code',\n 'type': 'string'\n },\n {\n 'name': 'title',\n 'type': 'string'\n }\n]",
87 "totalProperty" : "total"
99 "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}"
104 "* prop" : "buttons[]"
108 "click" : "function (_self, e)\n{\n // do some checks?\n \n var data = _this.form.getValues();\n \n if (!data.lang.length) {\n \n Roo.MessageBox.alert(\"Error\", \"Select language\");\n return;\n \n }\n _this.dialog.hide();\n \n var callbackData = data.lang;\n // Roo.log(_this.data);\n if(_this.data._with_name == true){\n callbackData = {'lang' : data.lang , 'lang_name' : _this.form.findField('lang').lastSelectionText};\n }\n \n _this.callback(callbackData);\n \n\n}"
113 "* prop" : "buttons[]"