mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
New maps in progress... (Fixed returned data in a node status function)
This commit is contained in:
parent
ed3cb1b50c
commit
6e6317cb8d
@ -1832,8 +1832,13 @@ 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(" ");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function multiple_selection_start
|
* Function multiple_selection_start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user