Fix URL updating in Potlatch 1

Potlatch 1 has hard coded calls to updatelinks, so rename the
updatelinks function to updateLinks and add an updatelinks function
using the old style argument list for Potlatch 1 to call.
This commit is contained in:
Tom Hughes 2013-12-01 22:37:04 +00:00
parent a30a29f41a
commit d5a765588f
5 changed files with 14 additions and 5 deletions

View file

@ -37,7 +37,7 @@
center = id.map().center(),
llz = { lon: center[0], lat: center[1], zoom: zoom };
parent.updatelinks(llz, zoom);
parent.updateLinks(llz, zoom);
// Manually resolve URL to avoid iframe JS context weirdness.
// http://bl.ocks.org/jfirebaugh/5439412