projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5521f6e
)
Make sure updatelinks() is called even if Potlatch fails to load
author
Tom Hughes
<tom@compton.nu>
Sun, 12 May 2013 12:06:24 +0000
(13:06 +0100)
committer
Tom Hughes
<tom@compton.nu>
Sun, 12 May 2013 12:06:24 +0000
(13:06 +0100)
app/views/site/_potlatch2.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/_potlatch2.html.erb
b/app/views/site/_potlatch2.html.erb
index 0c0a859727160112fbd82edf46eb3497d66943c2..54e02987bf9bc7ac42ffc9e301e065e72cfd8ca2 100644
(file)
--- a/
app/views/site/_potlatch2.html.erb
+++ b/
app/views/site/_potlatch2.html.erb
@@
-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 -%>