Pman.Dialog.AdminWatch.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 08:31:24 +0000 (16:31 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 08:31:24 +0000 (16:31 +0800)
Pman.Dialog.AdminWatch.bjs
Pman.Dialog.AdminWatch.js
Pman.Dialog.AdminWatch.js

Pman.Dialog.AdminWatch.bjs
Pman.Dialog.AdminWatch.js

index e3f6978..0f6df26 100644 (file)
                                     "|xns": "Roo.form"
                                 },
                                 {
-                                    "|xns": "Roo.form",
-                                    "xtype": "ComboBox",
                                     "allowBlank": "false",
+                                    "displayField": "name",
                                     "editable": "false",
                                     "emptyText": "Select Person",
+                                    "fieldLabel": "Notify Who",
                                     "forceSelection": true,
+                                    "hiddenName": "person_id",
                                     "listWidth": 400,
                                     "loadingText": "Searching...",
                                     "minChars": 2,
+                                    "name": "person_id_name",
                                     "pageSize": 20,
                                     "qtip": "Select Person",
+                                    "queryParam": "query[name]",
                                     "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": "query[name]",
-                                    "fieldLabel": "Person",
                                     "valueField": "id",
-                                    "displayField": "name",
-                                    "hiddenName": "person_id",
-                                    "name": "person_id_name",
+                                    "width": 300,
+                                    "xtype": "ComboBox",
+                                    "|xns": "Roo.form",
                                     "items": [
                                         {
                                             "*prop": "store",
index f366522..822d3b6 100644 (file)
@@ -264,25 +264,25 @@ Pman.Dialog.AdminWatch = {
                                     xtype: 'ComboBox',
                                     xns: Roo.form,
                                     allowBlank : 'false',
+                                    displayField : 'name',
                                     editable : 'false',
                                     emptyText : "Select Person",
+                                    fieldLabel : 'Notify Who',
                                     forceSelection : true,
+                                    hiddenName : 'person_id',
                                     listWidth : 400,
                                     loadingText : "Searching...",
                                     minChars : 2,
+                                    name : 'person_id_name',
                                     pageSize : 20,
                                     qtip : "Select Person",
+                                    queryParam : 'query[name]',
                                     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 : 'query[name]',
-                                    fieldLabel : 'Person',
                                     valueField : 'id',
-                                    displayField : 'name',
-                                    hiddenName : 'person_id',
-                                    name : 'person_id_name',
+                                    width : 300,
                                     store : {
                                         xtype: 'Store',
                                         xns: Roo.data,