mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 08:37:33 +08:00
Merge pull request '[SSE] Fix ole editor' (#158) from fix/bugfix into release/v8.3.0
This commit is contained in:
@ -544,7 +544,7 @@ define([
|
||||
if (oldRtl !== this.isRtlSheet || force)
|
||||
this.updateTabbarBorders();
|
||||
|
||||
var index = this.api.asc_getActiveWorksheetIndex();
|
||||
var index = this.api ? this.api.asc_getActiveWorksheetIndex() : 0;
|
||||
var tab = _.findWhere(this.tabbar.tabs, {sheetindex: index});
|
||||
tab && !this.tabbar.isTabVisible(tab.index) && this.tabbar.setTabVisible(tab.index);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user