fix #8131 - chinese translations
[Pman.Core] / Pman.Dialog.CoreColumnConfig.bjs
1 {
2  "name" : "Pman.Dialog.CoreColumnConfig",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/alan/gitlive/Pman.Core/Pman.Dialog.CoreColumnConfig.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "cfcd208495d565ef66e7dff9f98764da" : "0",
10   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
11   "c40cab5f875bb6c270d800eff77a4af0" : "Save Column Configuration",
12   "b5a7adde1af5c87d7fd797b6245c2a39" : "Description",
13   "c9cc8cce247e49bae79f15173ce97354" : "Save"
14  },
15  "named_strings" : {
16   "description_fieldLabel" : "b5a7adde1af5c87d7fd797b6245c2a39",
17   "name_value" : "cfcd208495d565ef66e7dff9f98764da"
18  },
19  "items" : [
20   {
21    "listeners" : {
22     "show" : "function (_self)\n{\n    \n}"
23    },
24    "modal" : true,
25    "collapsible" : false,
26    "background" : true,
27    "title" : "Save Column Configuration",
28    "xtype" : "LayoutDialog",
29    "width" : 400,
30    "$ xns" : "Roo",
31    "closable" : false,
32    "resizable" : false,
33    "height" : 110,
34    "items" : [
35     {
36      "xtype" : "LayoutRegion",
37      "$ xns" : "Roo",
38      "titlebar" : false,
39      "* prop" : "center"
40     },
41     {
42      "background" : true,
43      "region" : "center",
44      "fitToFrame" : true,
45      "xtype" : "ContentPanel",
46      "$ xns" : "Roo",
47      "items" : [
48       {
49        "listeners" : {
50         "|actioncomplete" : "function (_self, action)\n{\n  if (action.type == 'setdata') {\n\n        \n        \n        if(typeof(_this.data.title) != 'undefined' && _this.data.title.length){\n            _this.dialog.setTitle(_this.data.title);\n        }\n  \n        if(_this.data.id){\n            _this.dialog.el.mask(\"Loading\");\n            this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n        }\n       \n       return;\n    }\n    if (action.type == 'load') {\n        _this.dialog.el.unmask();\n        return;\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, action.result.data);\n        }\n        _this.form.reset();\n    }\n}\n",
51         "|rendered" : "function (form)\n{\n   _this.form = form;\n}"
52        },
53        "$ url" : "baseURL + '/Roo/core_setting'",
54        "method" : "POST",
55        "xtype" : "Form",
56        "style" : "padding:5px",
57        "$ xns" : "Roo.form",
58        "items" : [
59         {
60          "fieldLabel" : "Description",
61          "xtype" : "TextField",
62          "allowBlank" : false,
63          "width" : 250,
64          "$ xns" : "Roo.form",
65          "name" : "description"
66         },
67         {
68          "xtype" : "Hidden",
69          "$ xns" : "Roo.form",
70          "name" : "module"
71         },
72         {
73          "xtype" : "Hidden",
74          "$ xns" : "Roo.form",
75          "name" : "val"
76         },
77         {
78          "xtype" : "Hidden",
79          "value" : 0,
80          "$ xns" : "Roo.form",
81          "name" : "name"
82         },
83         {
84          "xtype" : "Hidden",
85          "$ xns" : "Roo.form",
86          "name" : "id"
87         }
88        ]
89       }
90      ]
91     },
92     {
93      "listeners" : {
94       "|click" : "function() {\n    _this.form.reset();\n    _this.dialog.hide();\n}"
95      },
96      "text" : "Cancel",
97      "xtype" : "Button",
98      "$ xns" : "Roo",
99      "* prop" : "buttons[]"
100     },
101     {
102      "listeners" : {
103       "|click" : "function() {\n\n     \n    _this.form.doAction('submit');\n    \n}"
104      },
105      "text" : "Save",
106      "xtype" : "Button",
107      "$ xns" : "Roo",
108      "* prop" : "buttons[]"
109     }
110    ]
111   }
112  ]
113 }