{ "name" : "Pman.Dialog.AdminEnumType", "parent" : "", "title" : "", "path" : "/home/michael/gitlive/Pman.Admin/Pman.Dialog.AdminEnumType.bjs", "permname" : "", "modOrder" : "001", "items" : [ { "Boolean modal" : true, "Number width" : 480, "xtype" : "LayoutDialog", "Number height" : 160, "Boolean resizable" : false, "$ xns" : "Roo", "String title" : "Edit", "items" : [ { "xtype" : "LayoutRegion", "$ xns" : "Roo", "* prop" : "center\n" }, { "xtype" : "ContentPanel", "String region" : "center", "$ xns" : "Roo", "items" : [ { "listeners" : { "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", "String fieldLabel" : "Name", "$ xns" : "Roo.form" }, { "String name" : "id", "xtype" : "Hidden", "$ xns" : "Roo.form" }, { "String name" : "etype", "xtype" : "Hidden", "$ xns" : "Roo.form" }, { "String name" : "display_name", "Number width" : 270, "xtype" : "TextField", "String fieldLabel" : "Display Name", "$ xns" : "Roo.form" } ] } ] }, { "listeners" : { "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}" }, "xtype" : "Button", "String text" : "Save", "$ xns" : "Roo", "* prop" : "buttons[]" }, { "listeners" : { "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}" }, "xtype" : "Button", "String text" : "Cancel", "$ xns" : "Roo", "* prop" : "buttons[]" } ] } ] }