Commit b5b6865f authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32838

parent 29f0bacd
...@@ -1951,13 +1951,7 @@ background-repeat: no-repeat;\ ...@@ -1951,13 +1951,7 @@ background-repeat: no-repeat;\
var _logicDoc = this.WordControl.m_oLogicDocument; var _logicDoc = this.WordControl.m_oLogicDocument;
if (!_logicDoc) if (!_logicDoc)
return; return;
_logicDoc.Remove(1, true, true);
if (false === _logicDoc.Document_Is_SelectionLocked(changestype_Paragraph_Content))
{
History.Create_NewPoint(AscDFH.historydescription_Cut);
_logicDoc.Remove(1, true, true);
_logicDoc.Document_UpdateSelectionState();
}
}; };
asc_docs_api.prototype.onSaveCallback = function(e) asc_docs_api.prototype.onSaveCallback = function(e)
......
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