From a373f2ab8a1235def98ba8f4129461f1ae339b6e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 30 Nov 2010 17:05:49 +0000 Subject: [PATCH] Wire up maximise/minimise support for Potlatch 2 --- app/views/site/_potlatch2.html.erb | 2 ++ 1 file changed, 2 insertions(+) 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"); } -- 2.43.2