mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
New maps in progress... (Fixed returned data in a node status function)
This commit is contained in:
parent
ed3cb1b50c
commit
6e6317cb8d
@ -1832,7 +1832,12 @@ MapController.prototype.get_status_selection_node = function(id_node) {
|
||||
var status = d3.select(self._target + " #node_" + id_node)
|
||||
.attr("data-select");
|
||||
|
||||
return status.split(" ");
|
||||
if (status == null) {
|
||||
return [];
|
||||
}
|
||||
else {
|
||||
return status.split(" ");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user