X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.CoreEnum.bjs;h=6dd5f2104bcd3e2793e4769a41f0131f97563fee;hp=30e856ffcf95d9b420a01a28008326e2768f5240;hb=HEAD;hpb=51b957c8226cd063a6ffbc397eef19f8d0feb69c diff --git a/Pman.Dialog.CoreEnum.bjs b/Pman.Dialog.CoreEnum.bjs index 30e856ff..6dd5f210 100644 --- a/Pman.Dialog.CoreEnum.bjs +++ b/Pman.Dialog.CoreEnum.bjs @@ -2,16 +2,26 @@ "name" : "Pman.Dialog.CoreEnum", "parent" : "", "title" : "", - "path" : "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreEnum.bjs", + "path" : "/home/alan/gitlive/Pman.Core/Pman.Dialog.CoreEnum.bjs", "permname" : "", "modOrder" : "001", "strings" : { "518ad9ed87d3ca17e223a91604b464d5" : "Add / Edit Core Enum", "cfcd208495d565ef66e7dff9f98764da" : "0", + "b48968e1c912da07df5e8d6d246291ec" : "Display Name", "c4ca4238a0b923820dcc509a6f75849b" : "1", "ea4788705e6873b424c65e91c2846b19" : "Cancel", + "49ee3087348e8d44e1feda1917443987" : "Name", + "4d3d769b812b6faa6b76e1a8abaece2d" : "Active", "e0aa021e21dddbd6d8cecec71e9cf564" : "OK" }, + "named_strings" : { + "display_name_fieldLabel" : "b48968e1c912da07df5e8d6d246291ec", + "seqid_value" : "cfcd208495d565ef66e7dff9f98764da", + "name_fieldLabel" : "49ee3087348e8d44e1feda1917443987", + "active_fieldLabel" : "4d3d769b812b6faa6b76e1a8abaece2d", + "active_value" : "c4ca4238a0b923820dcc509a6f75849b" + }, "items" : [ { "listeners" : { @@ -35,9 +45,9 @@ "* prop" : "center" }, { - "background" : true, "region" : "center", "fitToFrame" : true, + "background" : true, "xtype" : "ContentPanel", "$ xns" : "Roo", "items" : [ @@ -47,14 +57,14 @@ "|rendered" : "function (form)\n{\n _this.form = form;\n}" }, "$ url" : "baseURL + '/Roo/core_enum.php'", - "method" : "POST", "xtype" : "Form", + "method" : "POST", "style" : "margin: 5px", "$ xns" : "Roo.form", "items" : [ { "fieldLabel" : "Name", - "hidden" : true, + "bool hidden" : true, "xtype" : "TextField", "allowBlank" : false, "actionMode" : "fieldEl", @@ -69,7 +79,7 @@ "fieldLabel" : "Display Name", "xtype" : "TextField", "allowBlank" : false, - "width" : 200, + "width" : 250, "$ xns" : "Roo.form", "name" : "display_name" }, @@ -90,12 +100,6 @@ "$ xns" : "Roo.form", "name" : "etype" }, - { - "xtype" : "Hidden", - "value" : 0, - "$ xns" : "Roo.form", - "name" : "hydra_skill_category_id" - }, { "xtype" : "Hidden", "value" : 0, @@ -122,7 +126,7 @@ }, { "listeners" : { - "|click" : "function() {\n\n var name = _this.form.findField('name').getValue();\n name = name.toUpperCase().replace(/[^A-Z]+/g, '');\n if (!name.length) {\n Roo.MessageBox.alert(\"Error\",\"Please fill in a valid name\");\n return;\n }\n _this.form.findField('name').setValue(name);\n \n _this.form.doAction('submit');\n \n}" + "|click" : "function() {\n\n var name = _this.form.findField('name').getValue();\n name = name.toUpperCase().replace(/[^A-Z0-9]+/g, '');\n if (!name.length) {\n Roo.MessageBox.alert(\"Error\",\"Please fill in a valid name\");\n return;\n }\n _this.form.findField('name').setValue(name);\n \n _this.form.doAction('submit');\n \n}" }, "text" : "OK", "xtype" : "Button",