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

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

index 676c103..a86a4ab 100644 (file)
                                     "width": 200,
                                     "xtype": "ComboBox",
                                     "|xns": "Roo.form",
-                                    "listeners": {},
-                                    "items": [
-                                        {
-                                            "|xns": "Roo.data",
-                                            "xtype": "Store",
-                                            "*prop": "store",
-                                            "items": [
-                                                {
-                                                    "*prop": "proxy",
-                                                    "method": "GET",
-                                                    "xtype": "HttpProxy",
-                                                    "|url": "baseURL + '/I18N/Country.php'",
-                                                    "|xns": "Roo.data"
-                                                },
-                                                {
-                                                    "*prop": "reader",
-                                                    "id": "code",
-                                                    "root": "data",
-                                                    "totalProperty": "total",
-                                                    "xtype": "JsonReader",
-                                                    "|fields": "[\n    {\n        'name': 'code',\n        'type': 'string'\n    },\n    {\n        'name': 'title',\n        'type': 'string'\n    }\n]",
-                                                    "|xns": "Roo.data"
-                                                }
-                                            ]
-                                        }
-                                    ]
+                                    "listeners": {}
                                 },
                                 {
                                     "fieldLabel": "Action",
index 6d24a28..9aa5a53 100644 (file)
@@ -498,34 +498,7 @@ Pman.Dialog.AdminWatch = {
                                     name : 'country_name',
                                     triggerAction : 'all',
                                     valueField : 'code',
-                                    width : 200,
-                                    store : {
-                                        xtype: 'Store',
-                                        xns: Roo.data,
-                                        proxy : {
-                                            xtype: 'HttpProxy',
-                                            xns: Roo.data,
-                                            method : 'GET',
-                                            url : baseURL + '/I18N/Country.php'
-                                        },
-                                        reader : {
-                                            xtype: 'JsonReader',
-                                            xns: Roo.data,
-                                            id : 'code',
-                                            root : 'data',
-                                            totalProperty : 'total',
-                                            fields : [
-                                                {
-                                                    'name': 'code',
-                                                    'type': 'string'
-                                                },
-                                                {
-                                                    'name': 'title',
-                                                    'type': 'string'
-                                                }
-                                            ]
-                                        }
-                                    }
+                                    width : 200
                                 },
                                 {
                                     xtype: 'TextField',