Merge pull request '[bug] fix bug 77585' (#1560) from fix/bug77585 into release/v9.1.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/1560
This commit is contained in:
Oleg Korshul
2025-10-13 15:14:22 +00:00

View File

@ -4861,7 +4861,7 @@ ParaRun.prototype.Recalculate_Range = function(PRS, ParaPr, Depth)
}
isVisualFieldChar = true;
}
else if (oComplexField.IsFormCheckBox())
else if (oComplexField && oComplexField.IsFormCheckBox())
{
isVisualFieldChar = true;
Item.SetFormCheckBox(true);