Commit 116858c6 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51321 954022d7-b5bf-4e40-9824-e11837661b57
parent b24647b3
......@@ -483,7 +483,7 @@
_onSetSelectionState: function (state) {
var index = 0;
for ( var i = 0; i < this.wsViews.length; i++ ) {
if ( state.sheetId === this.wsViews[i].model.Id ) {
if (this.wsViews[i] && state.sheetId === this.wsViews[i].model.Id ) {
index = this.wsViews[i].model.index;
break;
}
......
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