diff options
author | Random Hacker <random_hacker@xapek.org> | 2011-07-21 21:52:10 +0200 |
---|---|---|
committer | Random Hacker <random_hacker@xapek.org> | 2011-07-21 21:56:48 +0200 |
commit | 02cab0b768b01a6c7b4c8b57362e992d1078c644 (patch) | |
tree | 9371dd20bf9e4c3630ef21b8ad6ad94c511e766f /ebus/webapp/static | |
parent | 43145b8d951078d202367e9eee3f2a0bac67e4ae (diff) | |
download | ebus-alt-02cab0b768b01a6c7b4c8b57362e992d1078c644.tar.gz ebus-alt-02cab0b768b01a6c7b4c8b57362e992d1078c644.zip |
webapp: 500 werte, native sqL
Diffstat (limited to 'ebus/webapp/static')
-rw-r--r-- | ebus/webapp/static/ebus.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ebus/webapp/static/ebus.js b/ebus/webapp/static/ebus.js index 15fe692..32e9f3a 100644 --- a/ebus/webapp/static/ebus.js +++ b/ebus/webapp/static/ebus.js @@ -99,7 +99,8 @@ $(document).ready(function(){ $("#overview").bind("plotselected", function (event, ranges) { range_from = Math.round(ranges.xaxis.from / 1000); range_to = Math.round(ranges.xaxis.to / 1000); - if (range_to - range_from > 4 * 24 * 60 * 60) { + // max selection range 14 days + if (range_to - range_from > 14 * 24 * 60 * 60) { plotOverview.setSelection({xaxis: {'from': from*1000, 'to': to*1000}}, true); return; } else { |