Merge pull request #70 from ONLYOFFICE/feature/bugfix

[SSE] Fix Bug 37307
This commit is contained in:
Alexey Golubev 2018-03-26 16:32:20 +03:00 committed by GitHub
commit 7f563ce262
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,15 +244,21 @@ define([
},
onTabMenu: function(obj, item, e) {
var me = this;
switch (item.value){
case 'ins':
this.api.asc_insertWorksheet(this.createSheetName());
setTimeout(function(){
me.api.asc_insertWorksheet(me.createSheetName());
}, 1);
break;
case 'del': this.deleteWorksheet(); break;
case 'ren': this.renameWorksheet(); break;
case 'copy': this.moveWorksheet(false); break;
case 'move': this.moveWorksheet(true); break;
case 'hide': this.hideWorksheet(true); break;
case 'hide':
setTimeout(function(){
me.hideWorksheet(true);}, 1);
break;
}
},