Fix JS bug for graph view of tempmon probe readings
This commit is contained in:
parent
b311c6be7d
commit
9606b08c89
|
@ -150,10 +150,8 @@
|
||||||
${parent.modify_this_page_vars()}
|
${parent.modify_this_page_vars()}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
ThisPage.data = function() { return {
|
ThisPageData.currentTimeRange = ${json.dumps(current_time_range)|n}
|
||||||
currentTimeRange: ${json.dumps(current_time_range)|n},
|
ThisPageData.chart = null
|
||||||
chart: null,
|
|
||||||
}}
|
|
||||||
|
|
||||||
ThisPage.methods.fetchReadings = function(timeRange) {
|
ThisPage.methods.fetchReadings = function(timeRange) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue