Merge pull request #490 from ONLYOFFICE/fix/bug-fix

[SSE] Fix bug 46367
This commit is contained in:
Julia Radzhabova 2020-08-31 14:25:12 +03:00 committed by GitHub
commit fabe2afeab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,6 +268,7 @@ define([
}
newNames.push(name);
});
var index = _.isNumber(index) ? index : this.api.asc_getWorksheetsCount();
this.api.asc_EndMoveSheet(index, newNames, _.findWhere(arrData, {type: 'onlyoffice'}).value);
}
}