[oform] Add method to set all roles as not filled

This commit is contained in:
Ilya Kirillov
2025-02-26 19:51:49 +03:00
parent ec29fcbcbc
commit 110a52a0b9

View File

@ -614,6 +614,13 @@
role.setFilled(isFilled);
};
OForm.prototype.setAllRolesNotFilled = function()
{
for (let roleIndex = 0, roleCount = this.Roles.length; roleIndex < roleCount; ++roleIndex)
{
this.Roles[roleIndex].setFilled(false);
}
};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Private area
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////