Commit 1094ba17 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 31141 - [FastCoEdit]Красный крест вместо текстуры в Shape Settings

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66926 954022d7-b5bf-4e40-9824-e11837661b57
parent 9f026d1f
......@@ -1228,6 +1228,7 @@ var editor;
} else if (this.wb && !window["NATIVE_EDITOR_ENJINE"]) {
// Нужно послать 'обновить свойства' (иначе для удаления данных не обновится строка формул).
// ToDo Возможно стоит обновлять только строку формул
CollaborativeEditing.Load_Images();
this.wb._onWSSelectionChanged(null);
this.wb.getWorksheet().updateVisibleRange();
}
......@@ -2401,6 +2402,7 @@ var editor;
if (drawing_area) {
for (var i = 0; i < drawing_area.frozenPlaces.length; ++i) {
worksheet.objectRender.showDrawingObjects(false, new GraphicOption(worksheet, c_oAscGraphicOption.ScrollVertical, drawing_area.frozenPlaces[i].range, {offsetX: 0, offsetY: 0}));
worksheet.objectRender.controller && worksheet.objectRender.controller.getGraphicObjectProps();
}
}
}
......
......@@ -94,20 +94,18 @@ CCollaborativeEditing.prototype.Apply_LinkData = function()
Item.Class.Load_LinkData( Item.LinkData );
}
this.Clear_LinkData();
};
CCollaborativeEditing.prototype.Load_Images = function(){
if(this.m_aNewImages.length > 0)
{
var old_val = Asc["editor"].ImageLoader.bIsAsyncLoadDocumentImages;
Asc["editor"].ImageLoader.bIsAsyncLoadDocumentImages = true;
Asc["editor"].ImageLoader.LoadDocumentImages(this.m_aNewImages, null, function()
{
CollaborativeEditing.m_aNewImages.length = 0;
Asc["editor"]._onShowDrawingObjects();
var worksheet = Asc["editor"].wb.getWorksheet();
worksheet && worksheet.objectRender && worksheet.objectRender.controller && worksheet.objectRender.controller.getGraphicObjectProps();
});
Asc["editor"].ImageLoader.LoadDocumentImages(this.m_aNewImages, null);
CollaborativeEditing.m_aNewImages.length = 0;
Asc["editor"].ImageLoader.bIsAsyncLoadDocumentImages = old_val;
}
};
}
//-----------------------------------------------------------------------------------
// Функции для проверки корректности новых изменений
//-----------------------------------------------------------------------------------
......
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