Refactor updatelinks to avoid exceptions in updateLocation
This commit is contained in:
parent
3cf3d888b2
commit
824a474d93
3 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue