var graphBuilds, requestProcesses; var graphId = "graph"; var filterInputId = "filter-input"; var defaultFilterText = "type text to filter the chart"; var typewatch = function() { var timer = 0; return function(callback, ms) { clearTimeout(timer); timer = setTimeout(callback, ms); } }(); function initPage() { // function from generic.js, variable from config file initHeaderAndFilters(headerAndFilters); $("#content") .append( $("
") .attr("id", "friendlier-names-field") .append( $("") .attr("id", "friendlier-names") .attr("type", "checkbox") //.attr("disabled", true) .click(function() { if (requestProcesses) { typewatch(function() { prepareGraphArray(requestProcesses) }, 500); } }) ) .append( $("