Commit 1949dc7e authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Fix Bug 35558.

parent 9f4a5ce2
...@@ -105,6 +105,7 @@ define([ ...@@ -105,6 +105,7 @@ define([
/** coauthoring end **/ /** coauthoring end **/
this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this)); this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this));
this.api.asc_registerCallback('asc_onFilterInfo', _.bind(this.onApiFilterInfo , this)); this.api.asc_registerCallback('asc_onFilterInfo', _.bind(this.onApiFilterInfo , this));
this.api.asc_registerCallback('asc_onActiveSheetChanged', _.bind(this.onApiActiveSheetChanged, this));
this.statusbar.setApi(api); this.statusbar.setApi(api);
}, },
...@@ -620,12 +621,15 @@ define([ ...@@ -620,12 +621,15 @@ define([
} }
}, },
onError: function(id, level, errData) { onError: function(id, level, errData) {
if (id == Asc.c_oAscError.ID.LockedWorksheetRename) if (id == Asc.c_oAscError.ID.LockedWorksheetRename)
this.statusbar.update(); this.statusbar.update();
}, },
onApiActiveSheetChanged: function (index) {
this.statusbar.tabMenu.hide();
},
zoomText : 'Zoom {0}%', zoomText : 'Zoom {0}%',
errorLastSheet : 'Workbook must have at least one visible worksheet.', errorLastSheet : 'Workbook must have at least one visible worksheet.',
errorRemoveSheet: 'Can\'t delete the worksheet.', errorRemoveSheet: 'Can\'t delete the worksheet.',
......
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