Commit f7e2b737 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34390

parent 2d2be2bb
......@@ -983,7 +983,7 @@ CCollaborativeEditingBase.prototype.private_RestoreDocumentState = function(DocS
mapLayouts[oClass.Get_Id()] = oClass;
bChangedLayout = true;
}
else if(typeof CPresentation !== "undefined" && oClass instanceof CPresentation){
else if(AscCommonSlide.CPresentation && oClass instanceof AscCommonSlide.CPresentation){
if(oChange.Type === AscDFH.historyitem_Presentation_RemoveSlide || oChange.Type === AscDFH.historyitem_Presentation_AddSlide){
bAddSlides = true;
for(var i = 0; i < oChange.Items.length; ++i){
......
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