Commit 4c7534b5 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 33329

parent 63de5d76
...@@ -4876,7 +4876,7 @@ background-repeat: no-repeat;\ ...@@ -4876,7 +4876,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.asc_AddMath2 = function(Type) 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(AscCommon.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 AscCommonWord.MathMenu(Type); var MathElement = new AscCommonWord.MathMenu(Type);
......
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