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

index e8bd7d7..58f4aaa 100644 (file)
@@ -305,7 +305,7 @@ Roo.extend(Roo.bootstrap.LocationPicker, Roo.bootstrap.Component,  {
                 }
                 this.setPosition(place.geometry.location, function() {
 //                    updateInputValues(inputBinding, context);
-                    _this.gMapContext.settings.onchanged.apply(_this.gMapContext.domContainer, [ GmUtility.locationFromLatLng(context.location), context.radius, false ]);
+                    _this.gMapContext.settings.onchanged.apply(_this.gMapContext.domContainer, [ _this.locationFromLatLng(_this.gMapContext.location), _this.gMapContext.radius, false ]);
                 });
             });
         }