Roo/bootstrap/LocationPicker.js
authorEdward <edward@roojs.com>
Fri, 22 May 2015 06:27:35 +0000 (14:27 +0800)
committerEdward <edward@roojs.com>
Fri, 22 May 2015 06:27:35 +0000 (14:27 +0800)
Roo/bootstrap/LocationPicker.js

index 4238975..0464d91 100644 (file)
@@ -303,7 +303,7 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
                     _this.gMapContext.settings.onlocationnotfound(place.name);
                     return;
                 }
-                this.setPosition(place.geometry.location, function() {
+                _this.setPosition(place.geometry.location, function() {
 //                    updateInputValues(inputBinding, context);
                     _this.gMapContext.settings.onchanged.apply(_this.gMapContext.domContainer, [ _this.locationFromLatLng(_this.gMapContext.location), _this.gMapContext.radius, false ]);
                 });