From: Costa Tsaousis (ktsaou) Date: Wed, 2 Dec 2015 08:57:30 +0000 (+0200) Subject: disabled debugging X-Git-Tag: v1.0rc~214 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=87ae8c438046bfec5bbe88abfb3b0f58034b2645;p=netdata.git disabled debugging --- diff --git a/web/dashboard.js b/web/dashboard.js index 4e2cb892..9bc91c1c 100755 --- a/web/dashboard.js +++ b/web/dashboard.js @@ -3,17 +3,14 @@ // var netdataStopDygraph = 1; // do not use dygraph // var netdataStopSparkline = 1; // do not use sparkline // var netdataStopPeity = 1; // do not use peity +// var netdataStopGoogleCharts = 1; // do not use google +// var netdataStopMorris = 1; // do not use morris // // You can also set the default netdata server, using the following. // When this variable is not set, we assume the page is hosted on your // netdata server already. // var netdataServer = "http://yourhost:19999"; // set your NetData server -// -------------------------------------------------------------------------------------------------------------------- -// For google charts you need this in your page: -// -// - (function(window) { // fix IE bug with console @@ -91,7 +88,7 @@ NETDATA.options = { targets: null, updated_dom: 1, - debug: 1, + debug: 0, last_paused: 0, current: { @@ -314,7 +311,7 @@ } } - NETDATA.domUpdated = function(callback) { + NETDATA.getDomCharts = function(callback) { NETDATA.options.updated_dom = 0; NETDATA.options.targets = $('div[data-netdata]').filter(':visible') @@ -358,7 +355,7 @@ NETDATA.init = function() { // this should be called only once - NETDATA.domUpdated(function() { + NETDATA.getDomCharts(function() { NETDATA.chartRefresher(0); }); } @@ -440,7 +437,7 @@ now = new Date().getTime(); if(NETDATA.options.updated_dom) { - NETDATA.domUpdated(function() { + NETDATA.getDomCharts(function() { NETDATA.chartRefresher(0); }); } @@ -493,7 +490,7 @@ } // ---------------------------------------------------------------------------------------------------------------- - // piety + // peity NETDATA.peityInitialize = function(callback) { if(typeof netdataStopPeity == 'undefined') {