Merge branch 'feature/new_networkmap' of https://github.com/pandorafms/pandorafms into feature/new_networkmap

This commit is contained in:
mdtrooper 2016-04-01 11:36:45 +02:00
commit 496313b2ec
2 changed files with 11 additions and 1 deletions

View File

@ -127,4 +127,14 @@ function maps_update_map ($id, $values) {
$result = db_process_sql_update('tmap', $values, $where);
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;
}
?>

View File

@ -1833,7 +1833,7 @@ 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");