Commit 35da1201 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug #31602 - [Copy&Paste] Мигает "красный квадрат" после вставки изображения,...

Bug #31602 - [Copy&Paste] Мигает "красный квадрат" после вставки изображения, загруженно по url, из CDE в CSE

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68325 954022d7-b5bf-4e40-9824-e11837661b57
parent 5b9b289f
......@@ -3833,8 +3833,12 @@
drawingObject.graphicObject.recalculate();
drawingObject.graphicObject.select(ws.objectRender.controller, 0);
}
window["Asc"]["editor"].ImageLoader.LoadDocumentImages(aImagesSync, null, ws.objectRender.asyncImagesDocumentEndLoaded);
var old_val = api.ImageLoader.bIsAsyncLoadDocumentImages;
api.ImageLoader.bIsAsyncLoadDocumentImages = true;
api.ImageLoader.LoadDocumentImages(aImagesSync, null, ws.objectRender.asyncImagesDocumentEndLoaded);
api.ImageLoader.bIsAsyncLoadDocumentImages = old_val;
ws.objectRender.showDrawingObjects(true);
ws.setSelectionShape(true);
ws.objectRender.controller.updateOverlay();
......
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