Pman.Dialog.VerifyAccess.bjs
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 04:50:39 +0000 (12:50 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 04:50:39 +0000 (12:50 +0800)
Pman.Dialog.VerifyAccess.js

Pman.Dialog.VerifyAccess.bjs
Pman.Dialog.VerifyAccess.js

index f31c39f..b13abe9 100644 (file)
@@ -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",
            "string fieldLabel" : "Action",
            "Boolean alwaysQuery" : true,
            "$ xns" : "Roo.bootstrap",
+           "String/Roo.Template tpl" : "<div class=\"roo-select2-result\">{value}</div>",
            "String hiddenName" : "status",
            "String displayField" : "value",
            "String indicatorpos" : "right",
index 9c36021..c37ca8c 100644 (file)
@@ -234,6 +234,8 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
             indicatorpos : 'right',
             mode : 'local',
             name : 'status_name',
+            selectOnFocus : true,
+            tpl : '<div class=\"roo-select2-result\">{value}</div>',
             triggerAction : 'all',
             valueField : 'code',
             listeners : {