Commit 06d3d30e authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32386

parent 2dc4111b
...@@ -5787,4 +5787,5 @@ CMathRecalculateObject.prototype.Compare = function(PageInfo) ...@@ -5787,4 +5787,5 @@ CMathRecalculateObject.prototype.Compare = function(PageInfo)
//--------------------------------------------------------export---------------------------------------------------- //--------------------------------------------------------export----------------------------------------------------
window['AscCommonWord'] = window['AscCommonWord'] || {}; window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].MathMenu = MathMenu;
window['AscCommonWord'].ParaMath = ParaMath; window['AscCommonWord'].ParaMath = ParaMath;
...@@ -6678,7 +6678,7 @@ asc_docs_api.prototype.asc_AddMath2 = function(Type) ...@@ -6678,7 +6678,7 @@ asc_docs_api.prototype.asc_AddMath2 = function(Type)
if ( false === this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content) ) if ( false === this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content) )
{ {
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_AddMath); this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_AddMath);
var MathElement = new MathMenu (Type); var MathElement = new AscCommonWord.MathMenu (Type);
this.WordControl.m_oLogicDocument.Paragraph_Add( MathElement ); this.WordControl.m_oLogicDocument.Paragraph_Add( MathElement );
} }
}; };
......
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