]> arthur.barton.de Git - netdata.git/commitdiff
properly reset charts after max time of refreshes; fixes #1631
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 11 Feb 2017 23:10:48 +0000 (01:10 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 11 Feb 2017 23:10:48 +0000 (01:10 +0200)
web/dashboard.js
web/index.html

index 9078b26e4fdbd983712033f27094c93e7e27362d..5119a7879918f59fbab60a61dc997a967a598c32 100644 (file)
@@ -3139,7 +3139,8 @@ var NETDATA = window.NETDATA || {};
                 if(this.debug === true)
                     this.log('max updates of ' + this.updates_since_last_creation.toString() + ' reached. Forcing re-generation.');
 
-                this.chart_created = false;
+                init();
+                return;
             }
 
             // check and update the legend
index e8e821f43193fbba30f396a505bfacf2d00c0c3e..19a5fd5efc415beb8919cf6124e95e9a6a29de13 100644 (file)
     </div>
 </body>
 </html>
-<script type="text/javascript" src="dashboard.js?v20170211-1"></script>
+<script type="text/javascript" src="dashboard.js?v20170211-2"></script>