Make sure updatelinks() is called even if Potlatch fails to load

This commit is contained in:
Tom Hughes 2013-05-12 13:06:24 +01:00
parent 5521f6ea9e
commit 340c28127f

View file

@ -62,6 +62,10 @@
swfobject.embedSWF("<%= asset_path("potlatch2.swf") %>", "potlatch", "100%", "100%", "10.1.102","<%= asset_path("expressInstall.swf") %>", flashvars, params, attributes);
// 700,600 for fixed size, 100%,100% for resizable
if (lat && lon) {
updatelinks(lon, lat, zoom);
}
}
<% if @lat && @lon -%>