Added changes to obtain id from external php

This commit is contained in:
Arturo Gonzalez 2017-11-15 15:30:55 +01:00
parent e91bcf8ad5
commit 088aa51996
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();