Merge branch 'feature/new_networkmap' of https://github.com/pandorafms/pandorafms into feature/new_networkmap
This commit is contained in:
commit
496313b2ec
|
@ -127,4 +127,14 @@ function maps_update_map ($id, $values) {
|
||||||
$result = db_process_sql_update('tmap', $values, $where);
|
$result = db_process_sql_update('tmap', $values, $where);
|
||||||
return (int)$result;
|
return (int)$result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function maps_add_node ($values) {
|
||||||
|
$result_add_node = db_process_sql_insert('titem', $values);
|
||||||
|
return $result_add_node;
|
||||||
|
}
|
||||||
|
|
||||||
|
function maps_add_node_relationship ($values) {
|
||||||
|
$result_add_node_rel = db_process_sql_insert('trel_item', $values);
|
||||||
|
return $result_add_node_rel;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1833,7 +1833,7 @@ MapController.prototype.make_arrow = function(from_id, to_id) {
|
||||||
*/
|
*/
|
||||||
MapController.prototype.get_status_selection_node = function(id_node) {
|
MapController.prototype.get_status_selection_node = function(id_node) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
var status = d3.select(self._target + " #node_" + id_node)
|
var status = d3.select(self._target + " #node_" + id_node)
|
||||||
.attr("data-select");
|
.attr("data-select");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue