Changed flow

This commit is contained in:
Arturo Gonzalez 2017-11-07 11:41:40 +01:00
parent 7e6cc539e8
commit 35ec64e2ea
2 changed files with 7 additions and 3 deletions

View File

@ -153,8 +153,10 @@ if ($new_networkmap || $save_networkmap) {
__('Succesfully created'), __('Could not be created'), '',
true);
// Force the tab = 'list'
$tab = "list";
$id = $result;
// Force the tab = 'view'
$tab = "view";
}
}
// The networkmap exists

View File

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