Commit cddc668b authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix Bug 21904 - Ошибка в консоли при Undo/Redo добавления листа в таблице

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51348 954022d7-b5bf-4e40-9824-e11837661b57
parent 5c2e3767
......@@ -246,6 +246,7 @@
this.model.handlers.add("showWorksheet", function (wsId) {
self.showWorksheetById(wsId);
var ws = self.getWorksheetById(wsId);
if ( ws )
self.handlers.trigger("asc_onActiveSheetChanged", ws.model.getIndex());
});
this.model.handlers.add("setSelection", function () {
......@@ -992,6 +993,7 @@
showWorksheetById: function (id) {
var wsModel = this.model.getWorksheetById(id);
if ( wsModel )
this.showWorksheet(wsModel.getIndex());
},
......
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