[oform] Implement reading all users,user masters, field masters

This commit is contained in:
KirillovIlya
2022-12-22 14:18:11 +03:00
parent e412f3095d
commit 923eed266f
4 changed files with 69 additions and 5 deletions

View File

@ -149,8 +149,8 @@
let fields = [];
for (let fieldIndex = 0, fieldCount = this.Fields.length; fieldIndex < fieldCount; ++fieldIndex)
{
if (this.Fields[index].isUseInDocument())
fields.push(this.Fields[index]);
if (this.Fields[fieldIndex].isUseInDocument())
fields.push(this.Fields[fieldIndex]);
}
if (this.Users.length && this.Parent)