From: Grant Slater Date: Fri, 8 Jul 2011 11:40:15 +0000 (+0100) Subject: Show the Potlatch 2 help the first time a user starts it X-Git-Tag: live~6266 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1f2545ea903f8f2ce2f41b0fa90f204da73f05bd Show the Potlatch 2 help the first time a user starts it --- diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index e648ed37c..c91a01984 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -41,6 +41,7 @@ fo.addVariable("api","<%= request.protocol + request.host_with_port %>/api/<%= API_VERSION %>/"); fo.addVariable("policy","<%= request.protocol + request.host_with_port %>/api/crossdomain.xml"); fo.addVariable("connection","XML"); + fo.addVariable("show_help","once"); <% if token %> fo.addVariable("oauth_token","<%= token.token %>"); fo.addVariable("oauth_token_secret","<%= token.secret %>");