mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-8351-error-visual-en-mensaje-de-exito-de-la-edicion-de-items-de-informes' into 'develop'
Fix success message position on edit report items See merge request artica/pandorafms!4720
This commit is contained in:
commit
83b7173fc6
@ -3556,25 +3556,6 @@ if ($enterpriseEnable && defined('METACONSOLE')) {
|
||||
}
|
||||
|
||||
if ($resultOperationDB !== null) {
|
||||
$err = '';
|
||||
switch ($_POST['type']) {
|
||||
case 'custom_graph':
|
||||
$err .= 'You must enter custom graph';
|
||||
break;
|
||||
|
||||
case 'SLA':
|
||||
$err .= 'You must enter some character in SLA limit field';
|
||||
default:
|
||||
$err .= '';
|
||||
break;
|
||||
}
|
||||
|
||||
ui_print_result_message(
|
||||
$resultOperationDB,
|
||||
__('Successfull action'),
|
||||
__('Unsuccessful action<br><br>'.$err)
|
||||
);
|
||||
|
||||
if ($action == 'update') {
|
||||
$buttons[$activeTab]['active'] = false;
|
||||
$activeTab = 'list_items';
|
||||
@ -3602,6 +3583,25 @@ if ($resultOperationDB !== null) {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$err = '';
|
||||
switch ($_POST['type']) {
|
||||
case 'custom_graph':
|
||||
$err .= 'You must enter custom graph';
|
||||
break;
|
||||
|
||||
case 'SLA':
|
||||
$err .= 'You must enter some character in SLA limit field';
|
||||
default:
|
||||
$err .= '';
|
||||
break;
|
||||
}
|
||||
|
||||
ui_print_result_message(
|
||||
$resultOperationDB,
|
||||
__('Successfull action'),
|
||||
__('Unsuccessful action<br><br>'.$err)
|
||||
);
|
||||
}
|
||||
|
||||
switch ($activeTab) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user