mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2381 - Not possible to create a ticket in "resolved" with lnk objects
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user