mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
fix in redirection after map creation
Former-commit-id: dbe1a326942df79f77d8973e8a83781778fa59b0
This commit is contained in:
parent
bf9b84f266
commit
e61d409acc
@ -1332,7 +1332,7 @@ class NetworkMap
|
|||||||
'id' => 'error_red',
|
'id' => 'error_red',
|
||||||
'style' => 'vertical-align: bottom;display: none;',
|
'style' => 'vertical-align: bottom;display: none;',
|
||||||
'class' => 'forced_title',
|
'class' => 'forced_title',
|
||||||
'alt' => 'Esto es una prueba',
|
'alt' => '',
|
||||||
'data-title' => 'data-use_title_for_force_title:1',
|
'data-title' => 'data-use_title_for_force_title:1',
|
||||||
],
|
],
|
||||||
false
|
false
|
||||||
|
@ -128,7 +128,11 @@ if (enterprise_installed()) {
|
|||||||
|
|
||||||
if ($result !== false) {
|
if ($result !== false) {
|
||||||
$tab = 'view';
|
$tab = 'view';
|
||||||
header('Location: '.$_SERVER['HTTP_REFERER'].'&tab='.$tab.'&id_networkmap='.$id);
|
header(
|
||||||
|
'Location: '.ui_get_full_url(
|
||||||
|
'index.php?sec=network&sec2=operation/agentes/pandora_networkmap&tab='.$tab.'&id_networkmap='.$id
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else if ($update_empty_networkmap) {
|
} else if ($update_empty_networkmap) {
|
||||||
$id_group = (int) get_parameter('id_group', 0);
|
$id_group = (int) get_parameter('id_group', 0);
|
||||||
@ -357,9 +361,20 @@ if ($new_networkmap || $save_networkmap) {
|
|||||||
if ($values['generation_method'] == 6) {
|
if ($values['generation_method'] == 6) {
|
||||||
$tab = 'r_dinamic';
|
$tab = 'r_dinamic';
|
||||||
define('_activeTab_', 'radial_dynamic');
|
define('_activeTab_', 'radial_dynamic');
|
||||||
|
$url = 'index.php?sec=network&sec2=operation/agentes/networkmap.dinamic&activeTab=radial_dynamic';
|
||||||
|
header(
|
||||||
|
'Location'.ui_get_full_url(
|
||||||
|
$url.'&id_networkmap='.$id
|
||||||
|
)
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
$url = 'index.php?sec=network&sec2=operation/agentes/pandora_networkmap';
|
||||||
|
header(
|
||||||
|
'Location: '.ui_get_full_url(
|
||||||
|
$url.'&tab='.$tab.'&id_networkmap='.$id
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
header('Location: '.$_SERVER['HTTP_REFERER'].'&tab='.$tab.'&id_networkmap='.$id);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user