Commit 9995905f authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 27879 - [Copy&Paste] Js ошибка после undo копирования слайда в другую вкладку

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60044 954022d7-b5bf-4e40-9824-e11837661b57
parent 7c784648
...@@ -90,7 +90,7 @@ Slide.prototype = ...@@ -90,7 +90,7 @@ Slide.prototype =
} }
if(this.cSld.Bg) if(this.cSld.Bg)
{ {
this.changeBackground(this.cSld.Bg.createFullCopy()); copy.changeBackground(this.cSld.Bg.createFullCopy());
} }
for(i = 0; i < this.cSld.spTree.length; ++i) for(i = 0; i < this.cSld.spTree.length; ++i)
{ {
......
...@@ -58,7 +58,7 @@ MasterSlide.prototype = ...@@ -58,7 +58,7 @@ MasterSlide.prototype =
{ {
addLayout: function(layout) addLayout: function(layout)
{ {
this.sldLayoutLst.push(layout); this.addToSldLayoutLstToPos(this.sldLayoutLst.length, layout);
}, },
getObjectType: function() getObjectType: function()
......
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