Merge branch '1602-error-al-obtener-el-id-del-mapa-de-red-dev' into 'develop'

Added changes to obtain id from external php

See merge request artica/pandorafms!1075
This commit is contained in:
vgilc 2017-11-15 15:38:17 +01:00
commit 66b13d2080
2 changed files with 6 additions and 2 deletions

View File

@ -161,7 +161,7 @@ if ($new_networkmap || $save_networkmap) {
true);
$id = $result;
define("_id_", $id);
// Force the tab = 'view'
$tab = "view";
}

View File

@ -677,9 +677,13 @@ if (is_ajax ()) {
}
}
//--------------END AJAX------------------------------------------------
if ($id == 0) {
if (_id_ != "_id_") {
$id = _id_;
}
else {
$id = (int) get_parameter('id_networkmap', 0);
}
$dash_mode = 0;
$map_dash_details = array();