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:
commit
f07588b24b
|
@ -115,10 +115,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
this.editor = this.createView('CellEditor',{
|
this.editor = this.getView('CellEditor');
|
||||||
el: '#cell-editing-box'
|
|
||||||
}).render();
|
|
||||||
|
|
||||||
this.bindViewEvents(this.editor, this.events);
|
this.bindViewEvents(this.editor, this.events);
|
||||||
|
|
||||||
this.editor.$el.parent().find('.after').css({zIndex: '4'}); // for spreadsheets - bug 23127
|
this.editor.$el.parent().find('.after').css({zIndex: '4'}); // for spreadsheets - bug 23127
|
||||||
|
|
|
@ -322,6 +322,7 @@ define([
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
// Create and render main view
|
// Create and render main view
|
||||||
this.viewport = this.createView('Viewport').render();
|
this.viewport = this.createView('Viewport').render();
|
||||||
|
this.getApplication().getController('CellEditor').createView('CellEditor',{ el: '#cell-editing-box' }).render();
|
||||||
|
|
||||||
this.api = new Asc.spreadsheet_api({
|
this.api = new Asc.spreadsheet_api({
|
||||||
'id-view' : 'editor_sdk',
|
'id-view' : 'editor_sdk',
|
||||||
|
|
Loading…
Reference in a new issue