diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-18 21:53:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-18 21:53:25 +0000 |
commit | ff0a91d97da0412a6b1c1b10de3858b13c3b5201 (patch) | |
tree | f150e0f12b1340d1a217b65d0d55508ea0ab4d12 /app/views | |
parent | 8b6939e2f40f391df59a2a67475909fcd2828d04 (diff) | |
download | redmine-ff0a91d97da0412a6b1c1b10de3858b13c3b5201.tar.gz redmine-ff0a91d97da0412a6b1c1b10de3858b13c3b5201.zip |
Use an handler instead of onsubmit attribute.
git-svn-id: http://svn.redmine.org/redmine/trunk@13616 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/queries/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/queries/new.html.erb | 2 | ||||
-rw-r--r-- | app/views/settings/_issues.html.erb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/queries/edit.html.erb b/app/views/queries/edit.html.erb index a1534f82d..eba719fa1 100644 --- a/app/views/queries/edit.html.erb +++ b/app/views/queries/edit.html.erb @@ -1,6 +1,6 @@ <h2><%= l(:label_query) %></h2> -<%= form_tag(query_path(@query), :onsubmit => 'selectAllOptions("selected_columns");', :method => :put) do %> +<%= form_tag(query_path(@query), :method => :put) do %> <%= render :partial => 'form', :locals => {:query => @query} %> <%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/queries/new.html.erb b/app/views/queries/new.html.erb index 7081eee24..3c1ff3b1c 100644 --- a/app/views/queries/new.html.erb +++ b/app/views/queries/new.html.erb @@ -1,6 +1,6 @@ <h2><%= l(:label_query_new) %></h2> -<%= form_tag(@project ? project_queries_path(@project) : queries_path, :onsubmit => 'selectAllOptions("selected_columns");') do %> +<%= form_tag(@project ? project_queries_path(@project) : queries_path) do %> <%= render :partial => 'form', :locals => {:query => @query} %> <%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/settings/_issues.html.erb b/app/views/settings/_issues.html.erb index 83b4acd98..fac6d6dea 100644 --- a/app/views/settings/_issues.html.erb +++ b/app/views/settings/_issues.html.erb @@ -1,4 +1,4 @@ -<%= form_tag({:action => 'edit', :tab => 'issues'}, :onsubmit => 'selectAllOptions("selected_columns");') do %> +<%= form_tag({:action => 'edit', :tab => 'issues'}) do %> <div class="box tabular settings"> <p><%= setting_check_box :cross_project_issue_relations %></p> |