Skip to content

Commit

Permalink
Removed the selects
Browse files Browse the repository at this point in the history
  • Loading branch information
Mircea Danila Dumitrescu committed Sep 2, 2014
1 parent 0d96fca commit c1ee080
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions public/js/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
Expand Down

0 comments on commit c1ee080

Please sign in to comment.