[SSE] Fix Bug 35558.

This commit is contained in:
Julia Radzhabova 2017-08-09 16:50:46 +03:00
parent 83d91f5044
commit 4417c2333c

View file

@ -103,6 +103,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);
}, },
@ -618,12 +619,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.',