summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-05 15:59:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-05 15:59:06 +0000
commitb9be1d126863da137a917b648afa6dad9dff5963 (patch)
tree577bbc98f9a4160e93d0af23a4a6de4c18e5762e /app/views
parent71e6f22670fed199d21564c9845d251bdb8c0337 (diff)
downloadredmine-b9be1d126863da137a917b648afa6dad9dff5963.tar.gz
redmine-b9be1d126863da137a917b648afa6dad9dff5963.zip
Ajaxified issue filter reset link
git-svn-id: http://redmine.rubyforge.org/svn/trunk@511 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/list_issues.rhtml13
1 files changed, 8 insertions, 5 deletions
diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml
index 60c72eb52..22e3b14a9 100644
--- a/app/views/projects/list_issues.rhtml
+++ b/app/views/projects/list_issues.rhtml
@@ -12,11 +12,14 @@
{ :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 },
:update => "content",
:with => "Form.serialize('query_form')"
- }, :class => 'icon icon-edit' %>
-
- <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'icon icon-del' %>
- <% if authorize_for('projects', 'add_query') %>
-
+ }, :class => 'icon icon-edit' %>
+
+ <%= link_to_remote l(:button_clear),
+ { :url => {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1},
+ :update => "content",
+ }, :class => 'icon icon-del' %>
+
+ <% if authorize_for('projects', 'add_query') %>
<%= link_to_remote l(:button_save),
{ :url => { :controller => 'projects', :action => "add_query", :id => @project },
:method => 'get',