From c1ee080624f0988e1130c73aaefd30afd9028a46 Mon Sep 17 00:00:00 2001 From: Mircea Danila Dumitrescu Date: Tue, 2 Sep 2014 15:33:31 +0100 Subject: [PATCH] Removed the selects --- public/js/analytics.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/public/js/analytics.js b/public/js/analytics.js index c84462a..4ae6345 100644 --- a/public/js/analytics.js +++ b/public/js/analytics.js @@ -109,14 +109,14 @@ function Chart(config) { control = $("#" + this.chartAnchor + ' .control'); control.append(myUtils.createElem('p')); - if (this.dimensions && Array.isArray(this.dimensions)) { - for (i = 0; i < this.dimensions.length; i++) { - selectElem = myUtils.createElem('select', {className: 'select', id: this.chartAnchor + "-" + this.dimensions[i].name}); - - selectElem.add(myUtils.createElem('option', {"value": 1})); - control.append(selectElem); - } - } + //if (this.dimensions && Array.isArray(this.dimensions)) { + // for (i = 0; i < this.dimensions.length; i++) { + // selectElem = myUtils.createElem('select', {className: 'select', id: this.chartAnchor + "-" + this.dimensions[i].name}); + // + // selectElem.add(myUtils.createElem('option', {"value": 1})); + // control.append(selectElem); + // } + //} that.refreshChart(); };