mirror of https://gitee.com/bigwinds/arangodb
fixed dashboard interval bug
This commit is contained in:
parent
50de3b857e
commit
fbc4e7e2ca
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
<div id="dashboardDropdownOut">
|
<div id="dashboardDropdownOut">
|
||||||
<div id="dashboardDropdown">
|
<div id="dashboardDropdown">
|
||||||
<ul>
|
<ul id="intervalUL">
|
||||||
<li class="nav-header" id="intervalUL">Update every:</li>
|
<li class="nav-header">Update every:</li>
|
||||||
<li><a><label class="radio"><input type="radio" name="updateInterval" id="every10seconds" value="10"><label><span></span>5 seconds</label></label></a></li>
|
<li><a><label class="radio"><input type="radio" name="updateInterval" id="every10seconds" value="10"><label><span></span>5 seconds</label></label></a></li>
|
||||||
<li><a><label class="radio"><input type="radio" name="updateInterval" id="every15seconds" value="15"><label><span></span>15 seconds</label></label></a></li>
|
<li><a><label class="radio"><input type="radio" name="updateInterval" id="every15seconds" value="15"><label><span></span>15 seconds</label></label></a></li>
|
||||||
<li><a><label class="radio"><input type="radio" name="updateInterval" id="every30seconds" value="30"><label><span></span>30 seconds</label></label></a></li>
|
<li><a><label class="radio"><input type="radio" name="updateInterval" id="every30seconds" value="30"><label><span></span>30 seconds</label></label></a></li>
|
||||||
|
|
|
@ -302,7 +302,6 @@ var dashboardView = Backbone.View.extend({
|
||||||
|
|
||||||
checkInterval: function (a) {
|
checkInterval: function (a) {
|
||||||
this.updateFrequency = a.target.value;
|
this.updateFrequency = a.target.value;
|
||||||
console.log(a);
|
|
||||||
this.calculateSeries();
|
this.calculateSeries();
|
||||||
this.renderCharts();
|
this.renderCharts();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue