examples/bootstrap/ComboBox.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 08:01:07 +0000 (16:01 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 08:01:07 +0000 (16:01 +0800)
examples/bootstrap/ComboBox.js

index 813da7b..f8b6cd2 100644 (file)
@@ -75,7 +75,7 @@ Roo.example.combobox = new Roo.XComponent({
                         proxy : {
                             xtype: 'HttpProxy',
                             xns: Roo.data,
-                            url : baseURL + '/Geoip/Core_geoip_country',
+                            url : '../boostrap/data.country.js',
                             method : 'GET'
                         },
                         reader : {
@@ -91,7 +91,7 @@ Roo.example.combobox = new Roo.XComponent({
                                     'type': 'string'
                                 },
                                 {
-                                    'name': 'name',
+                                    'name': 'title',
                                     'type': 'string'
                                 }
                             ]