Commit 11b8fc896c66d454b6aecf0da045d5bc67f8eafd
1 parent
0b6eeb92
Exists in
master
and in
28 other branches
ActionItem900: removing the extra step for quickly joining groups
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/shared/join_community_popup.rhtml
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | |
4 | 4 | <% button_bar do %> |
5 | 5 | <% if logged_in? %> |
6 | - <%= lightbox_button(:ok, _('Yes'), :controller => 'profile', :action => 'join', :profile => profile.identifier) %> | |
6 | + <%= button(:ok, _('Yes'), { :controller => 'profile', :action => 'join', :profile => profile.identifier, :confirmation => '1'}, :method => :post) %> | |
7 | 7 | <% else %> |
8 | 8 | <%= button(:ok, _('Yes'), :controller => 'profile', :action => 'join', :profile => profile.identifier) %> |
9 | 9 | <% end %> | ... | ... |