[SSE] Fix editor loading

This commit is contained in:
Julia Radzhabova 2019-07-19 17:09:31 +03:00
parent 9c69d97c91
commit b74cdd182d
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',