Make sure a negative Ajax.activeRequestCount does not block the apply button. Fixes #3773.

pull/6827/head
Konstantin Haase 14 years ago
parent 05a4a3106c
commit 0d9389ef44
  1. 2
      app/views/cost_reports/index.rhtml

@ -31,7 +31,7 @@
<%= link_to_remote "<span><em>#{l(:button_apply)}</em></span>",
{ :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

Loading…
Cancel
Save