]> git.openstreetmap.org Git - rails.git/commitdiff
Wire up maximise/minimise support for Potlatch 2
authorTom Hughes <tom@compton.nu>
Tue, 30 Nov 2010 17:05:49 +0000 (17:05 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 30 Nov 2010 17:05:49 +0000 (17:05 +0000)
app/views/site/_potlatch2.html.erb

index 5b072476396e9fa9be3aa308d26ab315edd5e3bf..57a45f2abb027216bfccab58f5de221e72cf720e 100644 (file)
@@ -32,6 +32,8 @@
     fo.addVariable("oauth_token_secret","<%= token.secret %>");
     fo.addVariable("oauth_consumer_key","<%= token.client_application.key %>");
     fo.addVariable("oauth_consumer_secret","<%= token.client_application.secret %>");
     fo.addVariable("oauth_token_secret","<%= token.secret %>");
     fo.addVariable("oauth_consumer_key","<%= token.client_application.key %>");
     fo.addVariable("oauth_consumer_secret","<%= token.client_application.secret %>");
+    fo.addVariable("maximise_function","maximiseMap");
+    fo.addVariable("minimise_function","minimiseMap");
     fo.write("map");
   }
 
     fo.write("map");
   }