examples/bootstrap/LocationPicker.js
authorEdward <edward@roojs.com>
Fri, 22 May 2015 05:47:20 +0000 (13:47 +0800)
committerEdward <edward@roojs.com>
Fri, 22 May 2015 05:47:20 +0000 (13:47 +0800)
examples/bootstrap/LocationPicker.js

index 70937c7..dbe00fe 100644 (file)
@@ -30,7 +30,12 @@ Roo.example.locationpicker = new Roo.XComponent({
                 {
                     xtype : 'LocationPicker',
                     xns: Roo.bootstrap,
-                    style : 'width:500px; height: 400px; border: 1px solid #000; margin: 50px auto;'
+                    style : 'width:500px; height: 400px; border: 1px solid #000; margin: 50px auto;',
+                    listeners : {
+                        render : function (_self) {
+                            _this.locationpicker = _self;
+                        }
+                    }
                 }
             ]
        }