MTrackWeb/templates/images/MTrackWeb/MTrackWeb.Layout.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 31 Jul 2011 09:57:46 +0000 (17:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 31 Jul 2011 09:57:46 +0000 (17:57 +0800)
MTrackWeb/templates/images/MTrackWeb/MTrackWeb.Layout.js

index a0fa89b..b0e8e41 100644 (file)
@@ -64,26 +64,27 @@ MTrackWeb.Layout = new Roo.XComponent({
                             {
                                 xtype: 'ComboBox',
                                 xns: Roo.form,
+                                allQuery : 'true',
                                 allowBlank : 'false',
+                                displayField : '',
                                 editable : 'false',
                                 emptyText : "Select Projects",
+                                fieldLabel : 'Projects',
                                 forceSelection : true,
+                                hiddenName : '',
                                 listWidth : 400,
                                 loadingText : "Searching...",
                                 minChars : 2,
+                                name : '',
                                 pageSize : 20,
                                 qtip : "Select Projects",
+                                queryParam : '',
                                 selectOnFocus : true,
+                                tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
                                 triggerAction : 'all',
                                 typeAhead : true,
-                                width : 300,
-                                tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
-                                queryParam : '',
-                                fieldLabel : 'Projects',
                                 valueField : 'id',
-                                displayField : '',
-                                hiddenName : '',
-                                name : '',
+                                width : 300,
                                 store : {
                                     xtype: 'Store',
                                     xns: Roo.data,