Commit 673d5e50 authored by Alexey Golubev's avatar Alexey Golubev Committed by GitHub

Merge pull request #134 from ONLYOFFICE/feature/Bug35305

.
parents 4e531277 385ae866
......@@ -12159,7 +12159,7 @@ Paragraph.prototype.GetSelectedContentControls = function()
}
else
{
if (this.Content[this.CurPos.ContentPos].GetSelectedContentControls)
if (this.Content[this.CurPos.ContentPos] && this.Content[this.CurPos.ContentPos].GetSelectedContentControls)
this.Content[this.CurPos.ContentPos].GetSelectedContentControls(arrContentControls);
}
......
......@@ -1077,6 +1077,10 @@ CBlockLevelSdt.prototype.GetContentControlPr = function()
return oPr;
};
CBlockLevelSdt.prototype.Restart_CheckSpelling = function()
{
this.Content.Restart_CheckSpelling();
};
//--------------------------------------------------------export--------------------------------------------------------
window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].CBlockLevelSdt = CBlockLevelSdt;
......
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