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

Поправил баг http://bugzserver/show_bug.cgi?id=25608

При обновлении листов, смотрим не удален ли он был.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57444 954022d7-b5bf-4e40-9824-e11837661b57
parent 15f716d5
......@@ -1281,10 +1281,10 @@
WorkbookView.prototype.updateWorksheetByModel = function () {
//расставляем ws так как они идут в модели.
var oNewWsViews = [];
for(var i in this.wsViews)
for (var i in this.wsViews)
{
var item = this.wsViews[i];
if(null != item)
if (null != item && null != this.model.getWorksheetById(item.model.getId()))
oNewWsViews[item.model.getIndex()] = item;
}
this.wsViews = oNewWsViews;
......
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