Commit 9a48530b authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33404.

parent 28e06875
......@@ -1759,7 +1759,13 @@ background-repeat: no-repeat;\
if (AscCommon.CollaborativeEditing.Get_GlobalLock())
return;
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_PasteHotKey);
var _logicDoc = this.WordControl.m_oLogicDocument;
if (!_logicDoc)
return;
if (false === _logicDoc.Document_Is_SelectionLocked(changestype_Paragraph_Content))
{
_logicDoc.Create_NewHistoryPoint(AscDFH.historydescription_Document_PasteHotKey);
switch (_format)
{
case AscCommon.c_oAscClipboardDataFormat.HtmlElement:
......@@ -1771,6 +1777,7 @@ background-repeat: no-repeat;\
default:
break;
}
}
};
asc_docs_api.prototype.onSaveCallback = function(e, isUndoRequest)
......
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