From: edward Date: Thu, 15 Feb 2018 04:50:39 +0000 (+0800) Subject: Pman.Dialog.VerifyAccess.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=768a30399952b6bef90a678dc44a644894a4ac1b Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index f31c39f6..b13abe99 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -93,6 +93,7 @@ "select" : "function (combo, record, index)\n{\n \n}" }, "Boolean allowBlank" : false, + "Boolean selectOnFocus" : true, "String name" : "status_name", "String mode" : "local", "String valueField" : "code", @@ -102,6 +103,7 @@ "string fieldLabel" : "Action", "Boolean alwaysQuery" : true, "$ xns" : "Roo.bootstrap", + "String/Roo.Template tpl" : "
{value}
", "String hiddenName" : "status", "String displayField" : "value", "String indicatorpos" : "right", diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index 9c360214..c37ca8c3 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -234,6 +234,8 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { indicatorpos : 'right', mode : 'local', name : 'status_name', + selectOnFocus : true, + tpl : '
{value}
', triggerAction : 'all', valueField : 'code', listeners : {