From 03b2e9469cc2fa282f46aa321acb76180adf98e7 Mon Sep 17 00:00:00 2001 From: "t.felgentreff" Date: Wed, 7 Jul 2010 16:48:53 +0000 Subject: [PATCH] add callback git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1333 7926756e-e54e-46e6-9721-ed318f58905e --- app/views/cost_reports/_filters.rhtml | 6 ++++-- app/views/cost_reports/index.rhtml | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/cost_reports/_filters.rhtml b/app/views/cost_reports/_filters.rhtml index 10d80a7cba..52b876d326 100644 --- a/app/views/cost_reports/_filters.rhtml +++ b/app/views/cost_reports/_filters.rhtml @@ -8,7 +8,7 @@ <% active_filters = query.filters.select {|f| f.class.display?} %> diff --git a/app/views/cost_reports/index.rhtml b/app/views/cost_reports/index.rhtml index 46e20ea0be..986e17bc1c 100644 --- a/app/views/cost_reports/index.rhtml +++ b/app/views/cost_reports/index.rhtml @@ -20,12 +20,14 @@

<%= link_to_remote l(:button_apply), { :url => { :set_filter => 1 }, + :complete => "set_filters()" :update => "content", :with => "Form.serialize('query_form')" }, :class => 'icon icon-checked' %> <%= link_to_remote l(:button_clear), { :url => { :set_filter => 1 }, + :complete => "set_filters()" :update => "content", }, :class => 'icon icon-reload' %> <% if User.current.allowed_to?(:save_queries, @project, :global => true) %>