pulldown js error
[Pman.Admin] / Pman.Dialog.AdminEnumType.bjs
1 {
2     "name" : "Pman.Dialog.AdminEnumType",
3     "parent" : "",
4     "title" : "",
5     "path" : "/home/michael/gitlive/Pman.Admin/Pman.Dialog.AdminEnumType.bjs",
6     "permname" : "",
7     "modOrder" : "001",
8     "items" : [
9         {
10             "Boolean modal" : true,
11             "Number width" : 480,
12             "xtype" : "LayoutDialog",
13             "Number height" : 160,
14             "Boolean resizable" : false,
15             "$ xns" : "Roo",
16             "String title" : "Edit",
17             "items" : [
18                 {
19                     "xtype" : "LayoutRegion",
20                     "$ xns" : "Roo",
21                     "* prop" : "center\n"
22                 },
23                 {
24                     "xtype" : "ContentPanel",
25                     "String region" : "center",
26                     "$ xns" : "Roo",
27                     "items" : [
28                         {
29                             "listeners" : {
30                                 "rendered" : "function (form)\n{\n    _this.form = this;\n}",
31                                 "|actioncomplete" : "function (_self, action)\n{\n    if(action.type == 'submit'){\n        _this.dialog.hide();\n    }\n}"
32                             },
33                             "$ url" : "baseURL + '/Roo/Core_enum'",
34                             "xtype" : "Form",
35                             "$ xns" : "Roo.form",
36                             "items" : [
37                                 {
38                                     "String name" : "name",
39                                     "Number width" : 270,
40                                     "xtype" : "TextField",
41                                     "String fieldLabel" : "Name",
42                                     "$ xns" : "Roo.form"
43                                 },
44                                 {
45                                     "String name" : "id",
46                                     "xtype" : "Hidden",
47                                     "$ xns" : "Roo.form"
48                                 },
49                                 {
50                                     "String name" : "etype",
51                                     "xtype" : "Hidden",
52                                     "$ xns" : "Roo.form"
53                                 },
54                                 {
55                                     "String name" : "display_name",
56                                     "Number width" : 270,
57                                     "xtype" : "TextField",
58                                     "String fieldLabel" : "Display Name",
59                                     "$ xns" : "Roo.form"
60                                 }
61                             ]
62                         }
63                     ]
64                 },
65                 {
66                     "listeners" : {
67                         "click" : "function (_self, e)\n{\n    //this.url = baseURL + '/Roo/Core_enum.php';\n    //_this.dialog.el.mask(\"Saving\");\n    _this.form.doAction(\"submit\");\n}"
68                     },
69                     "xtype" : "Button",
70                     "String text" : "Save",
71                     "$ xns" : "Roo",
72                     "* prop" : "buttons[]"
73                 },
74                 {
75                     "listeners" : {
76                         "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
77                     },
78                     "xtype" : "Button",
79                     "String text" : "Cancel",
80                     "$ xns" : "Roo",
81                     "* prop" : "buttons[]"
82                 }
83             ]
84         }
85     ]
86 }