Commit bf801833 authored by Igor.Zotov's avatar Igor.Zotov

при вставке извне добавлялось в историю несколько точек

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58225 954022d7-b5bf-4e40-9824-e11837661b57
parent c885bb1c
...@@ -8052,8 +8052,9 @@ ...@@ -8052,8 +8052,9 @@
t.isChanged = true; t.isChanged = true;
t._updateCellsRange(arn, canChangeColWidth); t._updateCellsRange(arn, canChangeColWidth);
} }
History.EndTransaction(); if(!(prop === "paste" && !isLocal))
History.EndTransaction();
}; };
if ("paste" === prop && val.onlyImages !== true) { if ("paste" === prop && val.onlyImages !== true) {
// Для past свой диапазон // Для past свой диапазон
...@@ -8220,6 +8221,8 @@ ...@@ -8220,6 +8221,8 @@
{ {
window["Asc"]["editor"].wb.clipboard._insertImagesFromBinaryWord(t, val.addImagesFromWord); window["Asc"]["editor"].wb.clipboard._insertImagesFromBinaryWord(t, val.addImagesFromWord);
} }
History.EndTransaction();
}); });
}; };
......
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