Commit e3a02c0f authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

после принятия изменений активный лист мог оказаться скрытым.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56563 954022d7-b5bf-4e40-9824-e11837661b57
parent d099c31a
......@@ -2703,6 +2703,7 @@ UndoRedoWorkbook.prototype = {
}
else if(historyitem_Workbook_SheetPositions == Type)
{
var wsActive = this.wb.aWorksheets[this.wb.nActive];
//делаем вспомогательным map из sheetid
var oTempSheetMap = {};
for(var i = 0, length = Data.positions.length; i < length; ++i)
......@@ -2762,6 +2763,7 @@ UndoRedoWorkbook.prototype = {
break;
}
this.wb._updateWorksheetIndexes();
this.wb.nActive = wsActive.getIndex();
}
else if(historyitem_Workbook_ChangeColorScheme == Type)
{
......
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