New maps in progress... (fixed "move modulegroups")

This commit is contained in:
Arturo Gonzalez 2016-04-14 09:34:05 +02:00
parent 676e6d884f
commit 7a35b6412e
3 changed files with 2 additions and 1 deletions

View File

@ -217,6 +217,7 @@ abstract class Map {
$contants["ITEM_TYPE_MODULE_NETWORKMAP"] = ITEM_TYPE_MODULE_NETWORKMAP;
$contants["ITEM_TYPE_EDGE_NETWORKMAP"] = ITEM_TYPE_EDGE_NETWORKMAP;
$contants["ITEM_TYPE_FICTIONAL_NODE"] = ITEM_TYPE_FICTIONAL_NODE;
$contants["ITEM_TYPE_MODULEGROUP_NETWORKMAP"] = ITEM_TYPE_MODULEGROUP_NETWORKMAP;
$contants["AGENT_MODULE_STATUS_ALL"] = AGENT_MODULE_STATUS_ALL;
$contants["AGENT_MODULE_STATUS_CRITICAL_BAD"] = AGENT_MODULE_STATUS_CRITICAL_BAD;

View File

@ -1644,6 +1644,7 @@ MapController.prototype.is_draggable = function(node) {
switch (node.type) {
case ITEM_TYPE_MODULE_NETWORKMAP:
case ITEM_TYPE_MODULEGROUP_NETWORKMAP:
case ITEM_TYPE_AGENT_NETWORKMAP:
case ITEM_TYPE_FICTIONAL_NODE:
return_var = true;

View File

@ -133,7 +133,6 @@ NetworkmapController.prototype.filter_only_agents = function(node) {
}
}
/**
* Function get_arrow_AMMA
* Return array (arrow)