Merge branch 'feature/progress_report' of https://dev.finn.de/git/reporting-engine into feature/progress_report

pull/6827/head
jwollert 14 years ago
commit 5ffd20a7aa
  1. 5
      init.rb
  2. 2
      lib/widget/table/progressbar.rb

@ -3,3 +3,8 @@ fail "upgrade ruby version, ruby < 1.8.7 suffers from Hash#hash bug" if {:a => 1
require 'big_decimal_patch' require 'big_decimal_patch'
require 'to_date_patch' require 'to_date_patch'
# Defines the minimum number of cells for a 'big' report
# Big reports may be handled differently in the UI - i.e. ask the user
# if he's really sure to execute such a heavy report
Widget::Table::Progressbar.const_set 'THRESHHOLD', 2000

@ -1,6 +1,4 @@
class Widget::Table::Progressbar < Widget::Base class Widget::Table::Progressbar < Widget::Base
THRESHHOLD = 500
dont_cache! dont_cache!
def render def render

Loading…
Cancel
Save