]> git.openstreetmap.org Git - rails.git/commitdiff
Enable "destructive edit" warnings in Potlatch 2
authorTom Hughes <tom@compton.nu>
Fri, 21 Dec 2012 08:51:34 +0000 (08:51 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 21 Dec 2012 08:51:34 +0000 (08:51 +0000)
app/views/site/_potlatch2.html.erb

index 1d45d622356f7399a043d0110a87a561d06df77c..535992f2fffcf9af960c7b94481dcb98f301c3f2 100644 (file)
@@ -42,6 +42,7 @@
     flashvars.policy = "<%= request.protocol + request.host_with_port %>/api/crossdomain.xml";
     flashvars.connection = "XML";
     flashvars.show_help = "once";
+    flashvars.user_check = "warn";
     <% if token %>
     flashvars.oauth_token = "<%= token.token %>";
     flashvars.oauth_token_secret = "<%= token.secret %>";