Merge branch '1539-new-flow-in-networkmaps-when-creates-a-map-dev' into 'develop'

Changed flow

See merge request artica/pandorafms!1031
This commit is contained in:
vgilc 2017-11-15 09:39:31 +01:00
commit 1789287673
2 changed files with 7 additions and 3 deletions

View File

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

View File

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