From 47c1dcd5a5d516f9dc1a3d0adccae99ae06841fc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Nov 2015 14:08:12 +0100 Subject: [PATCH] selectio-controllet update --- controllets/dataset-selection-controllet/dataset-selection-controllet.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllets/dataset-selection-controllet/dataset-selection-controllet.html b/controllets/dataset-selection-controllet/dataset-selection-controllet.html index 7f3afec..eb47454 100755 --- a/controllets/dataset-selection-controllet/dataset-selection-controllet.html +++ b/controllets/dataset-selection-controllet/dataset-selection-controllet.html @@ -225,7 +225,7 @@ }, _filterDatasets : function(e){ - var filter = e.detail.inputValue;console.log(filter); + var filter = e.detail.inputValue; var filteredDatasets = []; for (var i in this.datasets){ if(this.datasets[i].name.toLowerCase().indexOf(filter.toLowerCase()) != -1) @@ -256,7 +256,7 @@ }, _selectDataUrl : function(e){ - var dataset = this.datasets[parseInt(e.target.id)] + var dataset = this.filteredDatasets[parseInt(e.target.id)] this.dataUrl = dataset.url; -- libgit2 0.21.4