mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2216 - Request Template Mandatory fields are not marked as "Mandatory"
This commit is contained in:
@@ -259,7 +259,11 @@ EOF
|
||||
default:
|
||||
// Not editable
|
||||
}
|
||||
|
||||
$oOutput->AddJs(
|
||||
<<<JS
|
||||
$("[data-field-id='{$this->oField->GetId()}'][data-form-path='{$this->oField->GetFormPath()}']").trigger('validate');
|
||||
JS
|
||||
);
|
||||
return $oOutput;
|
||||
}
|
||||
}
|
||||
@@ -383,6 +383,12 @@ EOF
|
||||
break;
|
||||
}
|
||||
|
||||
$oOutput->AddJs(
|
||||
<<<JS
|
||||
$("[data-field-id='{$this->oField->GetId()}'][data-form-path='{$this->oField->GetFormPath()}']").trigger('validate');
|
||||
JS
|
||||
);
|
||||
|
||||
return $oOutput;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user