From: Edward Date: Fri, 17 Apr 2015 03:13:58 +0000 (+0800) Subject: Pman.Dialog.CoreEnum.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=51a04d4adeb7d35374ba79f8cbe83311a5851ef7 Pman.Dialog.CoreEnum.bjs Pman.Dialog.CoreEnum.js --- diff --git a/Pman.Dialog.CoreEnum.bjs b/Pman.Dialog.CoreEnum.bjs index 4010dfe3..0f9e4641 100644 --- a/Pman.Dialog.CoreEnum.bjs +++ b/Pman.Dialog.CoreEnum.bjs @@ -8,7 +8,6 @@ "strings" : { "518ad9ed87d3ca17e223a91604b464d5" : "Add / Edit Core Enum", "cfcd208495d565ef66e7dff9f98764da" : "0", - "c4ca4238a0b923820dcc509a6f75849b" : "1", "ea4788705e6873b424c65e91c2846b19" : "Cancel", "e0aa021e21dddbd6d8cecec71e9cf564" : "OK" }, @@ -35,9 +34,9 @@ "* prop" : "center" }, { + "background" : true, "region" : "center", "fitToFrame" : true, - "background" : true, "xtype" : "ContentPanel", "$ xns" : "Roo", "items" : [ @@ -47,8 +46,8 @@ "|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" : [ @@ -87,12 +86,6 @@ "$ xns" : "Roo.form", "name" : "etype" }, - { - "xtype" : "Hidden", - "$ xns" : "Roo.form", - "Mixed value" : 1, - "name" : "active" - }, { "xtype" : "Hidden", "value" : 0, diff --git a/Pman.Dialog.CoreEnum.js b/Pman.Dialog.CoreEnum.js index fbf0d148..e035aa8b 100644 --- a/Pman.Dialog.CoreEnum.js +++ b/Pman.Dialog.CoreEnum.js @@ -9,7 +9,6 @@ Pman.Dialog.CoreEnum = { _strings : { '518ad9ed87d3ca17e223a91604b464d5' :"Add / Edit Core Enum", 'cfcd208495d565ef66e7dff9f98764da' :"0", - 'c4ca4238a0b923820dcc509a6f75849b' :"1", 'ea4788705e6873b424c65e91c2846b19' :"Cancel", 'e0aa021e21dddbd6d8cecec71e9cf564' :"OK" }, @@ -179,14 +178,17 @@ Pman.Dialog.CoreEnum = { }, { '|xns' : 'Roo.form', - name : 'etype', + fieldLabel : 'Active', + inputValue : 1, + name : 'active', + value : 0, + valueOff : 0, xns : Roo.form, - xtype : 'Hidden' + xtype : 'Checkbox' }, { '|xns' : 'Roo.form', - name : 'active', - value : 1, + name : 'etype', xns : Roo.form, xtype : 'Hidden' },