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,
|
var self = this,
|
||||||
listStyles = this.toolbar.mode.isEditOle ? self.toolbar.mnuCellStylePicker: self.toolbar.listStyles,
|
listStyles = this.toolbar.mode.isEditOle ? self.toolbar.mnuCellStylePicker: self.toolbar.listStyles;
|
||||||
menuPicker = this.toolbar.mode.isEditOle ? listStyles: listStyles.menuPicker;
|
|
||||||
|
|
||||||
if (!listStyles) {
|
if (!listStyles) {
|
||||||
self.styles = styles;
|
self.styles = styles;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var menuPicker = this.toolbar.mode.isEditOle ? listStyles: listStyles.menuPicker;
|
||||||
var mainController = this.getApplication().getController('Main');
|
var mainController = this.getApplication().getController('Main');
|
||||||
var count = menuPicker.store.length;
|
var count = menuPicker.store.length;
|
||||||
var rec = menuPicker.getSelectedRec();
|
var rec = menuPicker.getSelectedRec();
|
||||||
|
|
Loading…
Reference in a new issue