Commit 37373458 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Еще правки для бага http://bugzserver/show_bug.cgi?id=25582

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57577 954022d7-b5bf-4e40-9824-e11837661b57
parent 190e5b7a
......@@ -588,12 +588,10 @@ CHistory.prototype =
var Items = [];
var UpdateRigions = {};
var Time = new Date().getTime();
var oSelectRange = null, nLastSheetId = null,
oSelectionState = this.workbook.handlers.trigger("getSelectionState");
if (null === oSelectionState)
oSelectRange = this.workbook.handlers.trigger("getSelection");
var nLastSheetId = null, oSelectionState = this.workbook.handlers.trigger("getSelectionState");
// ToDo Берем всегда, т.к. в случае с LastState мы можем не попасть на нужный лист.
// ToDo Берем всегда, т.к. в случае с LastState мы можем не попасть на нужный лист и не заселектить нужный диапазон!
var oSelectRange = this.workbook.handlers.trigger("getSelection");
var wsActive = this.workbook.getWorksheet(this.workbook.getActive());
if (wsActive)
nLastSheetId = wsActive.getId();
......
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