N°3795 - Replace JS alert native calls with centralized informative modals (#456)

* N°3795 - Replace JS alert native calls with centralized informative modals

* N°3795 - Add constants for severity

* N°3795 - Fix success severity value wrongfully set to 'error'

* N°3795 - Add constants for severity

* N°3795 - Simplify API consumption

* N°3795 - Allows to pass more options when consuming API
This commit is contained in:
Stephen Abello
2023-03-31 10:24:49 +02:00
committed by GitHub
parent 383b5623b1
commit a80506b8e8
12 changed files with 68 additions and 27 deletions

View File

@@ -1052,16 +1052,16 @@ EOF
});
if (!bMappingOk)
{
alert("$sAlertIncompleteMapping");
CombodoModal.OpenErrorModal('$sAlertIncompleteMapping');
}
if (bMultipleMapping)
{
alert("$sAlertMultipleMapping");
CombodoModal.OpenErrorModal('$sAlertMultipleMapping');
}
if (!bSearchOk)
{
bResult = false;
alert("$sAlertNoSearchCriteria");
CombodoModal.OpenErrorModal('$sAlertNoSearchCriteria');
}
if (bResult)