diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-18 22:02:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-18 22:02:23 +0000 |
commit | 4bfbabfdfa34eb27ac9d1593efa1fdf830269694 (patch) | |
tree | 6a118fb00f89777205bff91065ecb30c77732886 /app/views/issues/index.html.erb | |
parent | ff0a91d97da0412a6b1c1b10de3858b13c3b5201 (diff) | |
download | redmine-4bfbabfdfa34eb27ac9d1593efa1fdf830269694.tar.gz redmine-4bfbabfdfa34eb27ac9d1593efa1fdf830269694.zip |
Removed submit_query_form function.
git-svn-id: http://svn.redmine.org/redmine/trunk@13617 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/index.html.erb')
-rw-r--r-- | app/views/issues/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 41660f741..50c8bf9bf 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -44,11 +44,11 @@ </fieldset> </div> <p class="buttons"> - <%= link_to_function l(:button_apply), 'submit_query_form("query_form")', :class => 'icon icon-checked' %> + <%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %> <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %> <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %> <%= link_to_function l(:button_save), - "$('#query_form').attr('action', '#{ @project ? new_project_query_path(@project) : new_query_path }'); submit_query_form('query_form')", + "$('#query_form').attr('action', '#{ @project ? new_project_query_path(@project) : new_query_path }').submit()", :class => 'icon icon-save' %> <% end %> </p> |