fix a bug where selecting a not-yet-loaded place on a list map would not pan but zoom to that place

This commit is contained in:
rlx 2011-10-08 09:58:31 +00:00
commit 7eb73dd4fb
3 changed files with 9 additions and 7 deletions

View file

@ -1,5 +1,4 @@
Ox.load('UI', {debug: true}, function() {
Ox.load('Geo', function() {
Ox.load({UI: {}, Geo:{}}, function() {
var $body = $("body"),
$panel = $("<div>")
@ -1202,5 +1201,4 @@ Ox.load('Geo', function() {
})
.appendTo($panel);
});
});