Datafari fix Table.widget empty values by julienFL
@@ -179,12 +179,14 @@ AjaxFranceLabs.TableWidget = AjaxFranceLabs.AbstractFacetWidget.extend({
var tags = [];
for (var i = 0; i < data.length - 1; i++) {
var encodedName = encodeURI(data[i]);
+ if (encodedName.trim() != "") {
if (encodedName.trim() != "") {
tags.push({
name : encodedName,
nb : data[i + 1]
});
}
+ }
i++;
}
return tags;
