diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-03 17:38:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-03 17:38:18 +0000 |
commit | cb8bee3a4e5a6fffc094665d8f0107e57a63d103 (patch) | |
tree | 98b873206dd81041b39b4c1b4bf5ff7a3a8160f2 /app/views/projects | |
parent | 20b4e226fe06db9132eccafd9f3c2c008ec99c09 (diff) | |
download | redmine-cb8bee3a4e5a6fffc094665d8f0107e57a63d103.tar.gz redmine-cb8bee3a4e5a6fffc094665d8f0107e57a63d103.zip |
Fixed: can't select columns when creating a new query.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@795 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/list_issues.rhtml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml index 3c90c30f9..60e8f7be2 100644 --- a/app/views/projects/list_issues.rhtml +++ b/app/views/projects/list_issues.rhtml @@ -2,7 +2,7 @@ <h2><%=l(:label_issue_plural)%></h2> <% set_html_title l(:label_issue_plural) %> - <% form_tag({:action => 'list_issues'}, :id => 'query_form') do %> + <% form_tag({ :controller => 'queries', :action => 'new', :project_id => @project }, :id => 'query_form') do %> <%= render :partial => 'queries/filters', :locals => {:query => @query} %> <% end %> <div class="contextual"> @@ -18,12 +18,7 @@ }, :class => 'icon icon-reload' %> <% if current_role.allowed_to?(:save_queries) %> - <%= link_to_remote l(:button_save), - { :url => { :controller => 'queries', :action => 'new', :project_id => @project }, - :method => 'get', - :update => "content", - :with => "Form.serialize('query_form')" - }, :class => 'icon icon-save' %> + <%= link_to l(:button_save), {}, :onclick => "$('query_form').submit(); return false;", :class => 'icon icon-save' %> <% end %> </div> <br /> |