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()}
|
||||
<script type="text/javascript">
|
||||
|
||||
ThisPage.data = function() { return {
|
||||
currentTimeRange: ${json.dumps(current_time_range)|n},
|
||||
chart: null,
|
||||
}}
|
||||
ThisPageData.currentTimeRange = ${json.dumps(current_time_range)|n}
|
||||
ThisPageData.chart = null
|
||||
|
||||
ThisPage.methods.fetchReadings = function(timeRange) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue