]> arthur.barton.de Git - netdata.git/commitdiff
fix for invalid reference on charts with no data
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 3 Jan 2016 00:12:21 +0000 (02:12 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 3 Jan 2016 00:12:21 +0000 (02:12 +0200)
web/dashboard.js

index bc5dd562f07aa35433962be160b3b945d18650b4..b0192d8c694600cae1717a911bc202193bb1c623 100755 (executable)
 
 
                var noDataToShow = function() {
-                       this.legendUpdateDOM();
+                       that.legendUpdateDOM();
                        that.tm.last_autorefreshed = new Date().getTime();
                        that.data_update_every = 30 * 1000;
                }