Commit 6465c3d6 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug with adding a footnote into a ContentControl.

parent 45a52d0a
...@@ -790,6 +790,16 @@ CBlockLevelSdt.prototype.Get_ParentTextTransform = function() ...@@ -790,6 +790,16 @@ CBlockLevelSdt.prototype.Get_ParentTextTransform = function()
{ {
return this.Parent.Get_ParentTextTransform(); return this.Parent.Get_ParentTextTransform();
}; };
CBlockLevelSdt.prototype.Get_SectPr = function()
{
if (this.Parent && this.Parent.Get_SectPr)
{
this.Parent.Update_ContentIndexing();
return this.Parent.Get_SectPr(this.Index);
}
return null;
};
//--------------------------------------------------------export-------------------------------------------------------- //--------------------------------------------------------export--------------------------------------------------------
window['AscCommonWord'] = window['AscCommonWord'] || {}; window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].CBlockLevelSdt = CBlockLevelSdt; 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