Refactor updatelinks to avoid exceptions in updateLocation

This commit is contained in:
Tom Hughes 2012-10-05 16:02:26 +01:00
parent 3cf3d888b2
commit 824a474d93
3 changed files with 8 additions and 8 deletions

View file

@ -71,7 +71,7 @@ $(document).ready(function () {
$("#object_larger_map").show();
$("#object_edit").show();
updatelinks(centre.lon, centre.lat, 16, null, extent.left, extent.bottom, extent.right, extent.top, params.type, params.id);
updatelinks(centre.lon, centre.lat, 16, null, extent.left, extent.bottom, extent.right, extent.top, object);
} else {
$("#small_map").hide();
}