N°2381 - Not possible to create a ticket in "resolved" with lnk objects

This commit is contained in:
Eric
2019-12-10 15:30:53 +01:00
parent 60769dc4b7
commit 374946505a
3 changed files with 35 additions and 5 deletions

View File

@@ -125,6 +125,11 @@ function OnUnload(sTransactionId, sObjClass, iObjKey, sToken)
function OnSubmit(sFormId)
{
window.bInSubmit=true; // This is a submit, make sure that when the page gets unloaded we don't cancel the action
if ($('#'+sFormId).data('force_submit')) {
return true;
}
var bResult = CheckFields(sFormId, true);
if (!bResult)
{