From 0d9389ef44ad5066e6003c13d927fb19ad5bf8d1 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Tue, 18 Jan 2011 16:17:50 +0100 Subject: [PATCH] Make sure a negative Ajax.activeRequestCount does not block the apply button. Fixes #3773. --- app/views/cost_reports/index.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cost_reports/index.rhtml b/app/views/cost_reports/index.rhtml index 86c77a0523..b19db38377 100644 --- a/app/views/cost_reports/index.rhtml +++ b/app/views/cost_reports/index.rhtml @@ -31,7 +31,7 @@ <%= link_to_remote "#{l(:button_apply)}", { :url => { :set_filter => 1 }, :before => 'selectAllOptions("group_by_rows");selectAllOptions("group_by_columns");', - :condition => 'Ajax.activeRequestCount === 0', + :condition => 'Ajax.activeRequestCount < 1', # GO AWAY! :update => "content", :with => "Form.serialize('query_form')", :eval_scripts => true