From: Tom Hughes Date: Tue, 30 Nov 2010 17:05:49 +0000 (+0000) Subject: Wire up maximise/minimise support for Potlatch 2 X-Git-Tag: live~6802^2~19 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a373f2ab8a1235def98ba8f4129461f1ae339b6e Wire up maximise/minimise support for Potlatch 2 --- diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 5b0724763..57a45f2ab 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -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("maximise_function","maximiseMap"); + fo.addVariable("minimise_function","minimiseMap"); fo.write("map"); }