New maps in progress... (Fixed returned data in a node status function)

This commit is contained in:
Arturo Gonzalez 2016-03-31 16:48:30 +02:00
parent ed3cb1b50c
commit 6e6317cb8d

View File

@ -1832,7 +1832,12 @@ MapController.prototype.get_status_selection_node = function(id_node) {
var status = d3.select(self._target + " #node_" + id_node) var status = d3.select(self._target + " #node_" + id_node)
.attr("data-select"); .attr("data-select");
if (status == null) {
return [];
}
else {
return status.split(" "); return status.split(" ");
}
} }
/** /**