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
@ -1828,11 +1828,16 @@ MapController.prototype.make_arrow = function(from_id, to_id) {
|
||||
*/
|
||||
MapController.prototype.get_status_selection_node = function(id_node) {
|
||||
var self = this;
|
||||
|
||||
|
||||
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