EventView.php
[Pman.Admin] / Pman.Dialog.AdminEnumType.bjs
index 7ebd5b9..86cf4f8 100644 (file)
                 },
                 {
                     "xtype" : "ContentPanel",
-                    "$ xns" : "Roo",
                     "String region" : "center",
+                    "$ xns" : "Roo",
                     "items" : [
                         {
                             "listeners" : {
-                                "|actioncomplete" : "function (_self, action)\n{\n    if(action.type == 'submit'){\n        _this.dialog.hide();\n    }\n}",
-                                "rendered" : "function (form)\n{\n    _this.form = this;\n}"
+                                "rendered" : "function (form)\n{\n    _this.form = this;\n}",
+                                "|actioncomplete" : "function (_self, action)\n{\n    if(action.type == 'submit'){\n        _this.dialog.hide();\n        \n        if(_this.callback){\n            _this.callback.call(_this, _this.form.getValues());\n        }\n        return\n    }\n}"
                             },
                             "$ url" : "baseURL + '/Roo/Core_enum'",
                             "xtype" : "Form",
                             "$ xns" : "Roo.form",
                             "items" : [
                                 {
+                                    "Boolean allowBlank" : false,
                                     "String name" : "name",
                                     "Number width" : 270,
                                     "xtype" : "TextField",