1
0
Fork 0
forked from 0x2620/oxjs

update map, url controller, icon list selection css

This commit is contained in:
rlx 2011-10-02 21:49:59 +00:00
commit c624cc5082
4 changed files with 24 additions and 19 deletions

View file

@ -466,6 +466,7 @@ Ox.Map = function(options, self) {
}
function clickMap(event) {
var place = getSelectedPlace();
if (self.options.clickable/* && !editing()*/) {
getPlaceByLatLng(event.latLng, self.map.getBounds(), function(place) {
if (place) {
@ -475,6 +476,8 @@ Ox.Map = function(options, self) {
selectPlace(null);
}
});
} else {
pressEscape();
}
}