mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-08 16:41:31 +00:00
Return false after onclick (#24439).
git-svn-id: http://svn.redmine.org/redmine/trunk@15998 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f60d240af0
commit
508fc4f454
@ -3,7 +3,7 @@
|
||||
<%= form_tag({:action => "add_block"}, :id => "block-form") do %>
|
||||
<%= label_tag('block-select', l(:label_my_page_block)) %>:
|
||||
<%= block_select_tag(@user) %>
|
||||
<%= link_to l(:button_add), '#', :onclick => '$("#block-form").submit()', :class => 'icon icon-add' %>
|
||||
<%= link_to l(:button_add), '#', :onclick => '$("#block-form").submit(); return false;', :class => 'icon icon-add' %>
|
||||
<% end %>
|
||||
<%= link_to l(:button_back), {:action => 'page'}, :class => 'icon icon-cancel' %>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user