[SSE] Fix editor loading
This commit is contained in:
parent
9c69d97c91
commit
b74cdd182d
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue