Merge branch 'feature/optimization' of https://github.com/ONLYOFFICE/web-apps-pro into feature/optimization

* 'feature/optimization' of https://github.com/ONLYOFFICE/web-apps-pro:
  [SSE] Fix editor loading
This commit is contained in:
Alexander Yuzhin 2019-07-19 17:21:59 +03:00
commit f07588b24b
2 changed files with 2 additions and 4 deletions

View file

@ -115,10 +115,7 @@ define([
},
onLaunch: function() {
this.editor = this.createView('CellEditor',{
el: '#cell-editing-box'
}).render();
this.editor = this.getView('CellEditor');
this.bindViewEvents(this.editor, this.events);
this.editor.$el.parent().find('.after').css({zIndex: '4'}); // for spreadsheets - bug 23127

View file

@ -322,6 +322,7 @@ define([
onLaunch: function() {
// Create and render main view
this.viewport = this.createView('Viewport').render();
this.getApplication().getController('CellEditor').createView('CellEditor',{ el: '#cell-editing-box' }).render();
this.api = new Asc.spreadsheet_api({
'id-view' : 'editor_sdk',