Merge pull request #1987 from ONLYOFFICE/fix/open-edit-diagram
[SSE] Fix bug with opening chart editor
This commit is contained in:
commit
b4950b3681
|
@ -2321,14 +2321,14 @@ define([
|
|||
}
|
||||
|
||||
var self = this,
|
||||
listStyles = this.toolbar.mode.isEditOle ? self.toolbar.mnuCellStylePicker: self.toolbar.listStyles,
|
||||
menuPicker = this.toolbar.mode.isEditOle ? listStyles: listStyles.menuPicker;
|
||||
listStyles = this.toolbar.mode.isEditOle ? self.toolbar.mnuCellStylePicker: self.toolbar.listStyles;
|
||||
|
||||
if (!listStyles) {
|
||||
self.styles = styles;
|
||||
return;
|
||||
}
|
||||
|
||||
var menuPicker = this.toolbar.mode.isEditOle ? listStyles: listStyles.menuPicker;
|
||||
var mainController = this.getApplication().getController('Main');
|
||||
var count = menuPicker.store.length;
|
||||
var rec = menuPicker.getSelectedRec();
|
||||
|
|
Loading…
Reference in a new issue