Commit 44b028dc authored by Ilya Kirillov's avatar Ilya Kirillov

Added function for correcting document on loading document-script.

parent 3d42b2ec
...@@ -15452,6 +15452,12 @@ CDocument.prototype.private_CheckCursorPosInFillingFormMode = function() ...@@ -15452,6 +15452,12 @@ CDocument.prototype.private_CheckCursorPosInFillingFormMode = function()
this.Document_UpdateInterfaceState(); this.Document_UpdateInterfaceState();
} }
}; };
CDocument.prototype.OnEndLoadScript = function()
{
this.Update_SectionsInfo();
this.Check_SectionLastParagraph();
this.Styles.Check_StyleNumberingOnLoad(this.Numbering);
};
function CDocumentSelectionState() function CDocumentSelectionState()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment