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

http://bugzserver/show_bug.cgi?id=28027 - [Copy&Paste] JS ошибка после undo...

http://bugzserver/show_bug.cgi?id=28027 -  [Copy&Paste] JS ошибка после undo вырезания слайда с темой и вставки

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60242 954022d7-b5bf-4e40-9824-e11837661b57
parent 29c77067
......@@ -3573,6 +3573,7 @@ PasteProcessor.prototype =
master = presentation.Slides[presentation.CurPage].Layout.Master;
else
master = presentation.slideMasters[0];
if(editor.DocumentUrl !== p_url)
{
var layouts_count = stream.GetULong();
......@@ -3663,6 +3664,7 @@ PasteProcessor.prototype =
arr_slides[i].changeSize(presentation.Width, presentation.Height);
arr_slides[i].setSlideSize(presentation.Width, presentation.Height);
arr_slides[i].setLayout(g_oTableId.Get_ById(arr_layouts_id[i]));
arr_slides[i].Layout.setMaster(master);
arr_slides[i].Width = presentation.Width;
arr_slides[i].Height = presentation.Height;
}
......
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