Pman.Dialog.CoreEmail.bjs
authoredward <edward@roojs.com>
Mon, 18 Jul 2016 07:00:15 +0000 (15:00 +0800)
committeredward <edward@roojs.com>
Mon, 18 Jul 2016 07:00:15 +0000 (15:00 +0800)
Pman.Dialog.CoreEmail.js

Pman.Dialog.CoreEmail.bjs
Pman.Dialog.CoreEmail.js

index e4e8537..81be475 100644 (file)
                "fieldLabel" : "Template",
                "forceSelection" : true,
                "selectOnFocus" : true,
-               "pageSize" : 20,
+               "pageSize" : 25,
                "displayField" : "file",
                "emptyText" : "Select BCC Group",
                "hiddenName" : "template",
                "minChars" : 2,
-               "valueField" : "file",
+               "valueField" : "id",
                "xtype" : "ComboBox",
                "allowBlank" : true,
                "typeAhead" : true,
                "editable" : false,
                "width" : 200,
                "$ xns" : "Roo.form",
-               "name" : "template",
+               "name" : "name",
                "qtip" : "Select BCC Group",
-               "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{file}</b> </div>",
+               "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
                "loadingText" : "Searching...",
                "items" : [
                 {
index 515a73c..5f92914 100644 (file)
@@ -677,14 +677,14 @@ Pman.Dialog.CoreEmail = {
                listWidth : 400,
                loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
                minChars : 2,
-               name : 'template',
-               pageSize : 20,
+               name : 'name',
+               pageSize : 25,
                qtip : _this._strings['2c466a2c159463f1d9ef5a7b57b52827'] /* Select BCC Group */,
                selectOnFocus : true,
-               tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{file}</b> </div>',
+               tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>',
                triggerAction : 'all',
                typeAhead : true,
-               valueField : 'file',
+               valueField : 'id',
                width : 200,
                xns : Roo.form,
                '|xns' : 'Roo.form',