Pman.Dialog.PersonEditor.js
authorChris <chris@roojs.com>
Tue, 18 Mar 2014 08:00:38 +0000 (16:00 +0800)
committerChris <chris@roojs.com>
Tue, 18 Mar 2014 08:00:38 +0000 (16:00 +0800)
Pman.Dialog.PersonEditor.js

index 86f83d8..1ab8e46 100644 (file)
@@ -467,19 +467,15 @@ Pman.Dialog.PersonEditor.prototype = {
                     xns: Roo.form,
                     allowBlank : true,
                     alwaysQuery : true,
-                    displayField : 'name',
+                    displayField : 'title',
                     editable : false,
                     emptyText : "Select Country",
                     fieldLabel : 'Journalist',
                     forceSelection : true,
                     idField : 'id',
-                    loadingText : "Searching...",
-                    minChars : 2,
-                    pageSize : 20,
-                    tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b>,  {publication}, {country_tr}</div>',
                     triggerAction : 'all',
                     typeAhead : true,
-                    valueField : 'id',
+                    valueField : 'code',
                     width : 280,
                     store : {
                         xtype: 'SimpleStore',