Merge pull request #593 from ONLYOFFICE/fix/bugfix

[DE] Fix Bug 47663
This commit is contained in:
Julia Radzhabova 2020-11-25 18:31:35 +03:00 committed by GitHub
commit b0db95bc8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1699,6 +1699,7 @@ define([
if (this.api && item.checked) {
var props = new Asc.CSectionLnNumType();
props.put_Restart(item.value==1 ? Asc.c_oAscLineNumberRestartType.Continuous : (item.value==2 ? Asc.c_oAscLineNumberRestartType.NewPage : Asc.c_oAscLineNumberRestartType.NewSection));
!!this.api.asc_GetLineNumbersProps() && props.put_CountBy(undefined);
this.api.asc_SetLineNumbersProps(Asc.c_oAscSectionApplyType.Current, props);
}
break;