Make sure updatelinks() is called even if Potlatch fails to load
This commit is contained in:
parent
5521f6ea9e
commit
340c28127f
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@
|
||||||
|
|
||||||
swfobject.embedSWF("<%= asset_path("potlatch2.swf") %>", "potlatch", "100%", "100%", "10.1.102","<%= asset_path("expressInstall.swf") %>", flashvars, params, attributes);
|
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
|
// 700,600 for fixed size, 100%,100% for resizable
|
||||||
|
|
||||||
|
if (lat && lon) {
|
||||||
|
updatelinks(lon, lat, zoom);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<% if @lat && @lon -%>
|
<% if @lat && @lon -%>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue