[SSE] Add icons to context menu

This commit is contained in:
Julia Radzhabova 2020-08-20 19:58:03 +03:00
parent 7b0763581a
commit b4b9d4a301
3 changed files with 73 additions and 1 deletions

View file

@ -1701,7 +1701,7 @@ define([
documentHolder.mnuChartEdit.chartInfo = elValue; documentHolder.mnuChartEdit.chartInfo = elValue;
ischartmenu = true; ischartmenu = true;
has_chartprops = true; has_chartprops = true;
} if ( elValue.asc_getSlicerProperties() ) { } else if ( elValue.asc_getSlicerProperties() ) {
documentHolder.mnuSlicerAdvanced.imageInfo = elValue; documentHolder.mnuSlicerAdvanced.imageInfo = elValue;
isslicermenu = true; isslicermenu = true;
} else { } else {
@ -2726,6 +2726,7 @@ define([
equation : true, equation : true,
disabled : me._currentParaObjDisabled, disabled : me._currentParaObjDisabled,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ {
@ -2896,6 +2897,7 @@ define([
equation : true, equation : true,
disabled : me._currentParaObjDisabled, disabled : me._currentParaObjDisabled,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ {
@ -2923,6 +2925,7 @@ define([
equation : true, equation : true,
disabled : me._currentParaObjDisabled, disabled : me._currentParaObjDisabled,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ {
@ -2942,6 +2945,7 @@ define([
equation : true, equation : true,
disabled : me._currentParaObjDisabled, disabled : me._currentParaObjDisabled,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ {
@ -2971,6 +2975,7 @@ define([
equation : true, equation : true,
disabled : me._currentParaObjDisabled, disabled : me._currentParaObjDisabled,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ {
@ -3023,6 +3028,7 @@ define([
equation : true, equation : true,
disabled : me._currentParaObjDisabled, disabled : me._currentParaObjDisabled,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ {

View file

@ -90,11 +90,13 @@ define([
var me = this; var me = this;
me.menuViewCopy = new Common.UI.MenuItem({ me.menuViewCopy = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-copy',
caption: me.txtCopy, caption: me.txtCopy,
value: 'copy' value: 'copy'
}); });
me.menuViewUndo = new Common.UI.MenuItem({ me.menuViewUndo = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-undo',
caption: me.textUndo caption: me.textUndo
}); });
@ -103,6 +105,7 @@ define([
}); });
me.menuViewAddComment = new Common.UI.MenuItem({ me.menuViewAddComment = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-menu-comments',
id: 'id-context-menu-item-view-add-comment', id: 'id-context-menu-item-view-add-comment',
caption: me.txtAddComment caption: me.txtAddComment
}); });
@ -114,6 +117,7 @@ define([
me.menuViewSignSeparator = new Common.UI.MenuItem({caption: '--' }); me.menuViewSignSeparator = new Common.UI.MenuItem({caption: '--' });
this.viewModeMenu = new Common.UI.Menu({ this.viewModeMenu = new Common.UI.Menu({
cls: 'shifted-right',
items: [ items: [
me.menuViewCopy, me.menuViewCopy,
me.menuViewUndo, me.menuViewUndo,
@ -139,11 +143,13 @@ define([
}); });
me.pmiCopy = new Common.UI.MenuItem({ me.pmiCopy = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-copy',
caption : me.txtCopy, caption : me.txtCopy,
value : 'copy' value : 'copy'
}); });
me.pmiPaste = new Common.UI.MenuItem({ me.pmiPaste = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-paste',
caption : me.txtPaste, caption : me.txtPaste,
value : 'paste' value : 'paste'
}); });
@ -151,6 +157,7 @@ define([
me.pmiSelectTable = new Common.UI.MenuItem({ me.pmiSelectTable = new Common.UI.MenuItem({
caption : me.txtSelect, caption : me.txtSelect,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ caption: this.selectRowText, value: Asc.c_oAscChangeSelectionFormatTable.row}, { caption: this.selectRowText, value: Asc.c_oAscChangeSelectionFormatTable.row},
@ -166,8 +173,10 @@ define([
}); });
me.pmiInsertCells = new Common.UI.MenuItem({ me.pmiInsertCells = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-addcell',
caption : me.txtInsert, caption : me.txtInsert,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ {
@ -188,8 +197,10 @@ define([
}); });
me.pmiInsertTable = new Common.UI.MenuItem({ me.pmiInsertTable = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-addcell',
caption : me.txtInsert, caption : me.txtInsert,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ caption: me.insertRowAboveText, value: Asc.c_oAscInsertOptions.InsertTableRowAbove}, { caption: me.insertRowAboveText, value: Asc.c_oAscInsertOptions.InsertTableRowAbove},
@ -205,8 +216,10 @@ define([
}); });
me.pmiDeleteCells = new Common.UI.MenuItem({ me.pmiDeleteCells = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-delcell',
caption : me.txtDelete, caption : me.txtDelete,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ {
@ -227,8 +240,10 @@ define([
}); });
me.pmiDeleteTable = new Common.UI.MenuItem({ me.pmiDeleteTable = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-delcell',
caption : me.txtDelete, caption : me.txtDelete,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ caption: this.deleteRowText, value: Asc.c_oAscDeleteOptions.DeleteRows}, { caption: this.deleteRowText, value: Asc.c_oAscDeleteOptions.DeleteRows},
@ -239,8 +254,10 @@ define([
}); });
me.pmiClear = new Common.UI.MenuItem({ me.pmiClear = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-clearstyle',
caption : me.txtClear, caption : me.txtClear,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ {
@ -270,12 +287,15 @@ define([
me.pmiSortCells = new Common.UI.MenuItem({ me.pmiSortCells = new Common.UI.MenuItem({
caption : me.txtSort, caption : me.txtSort,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ {
iconCls: 'menu__icon btn-sort-down',
caption : me.txtAscending, caption : me.txtAscending,
value : Asc.c_oAscSortOptions.Ascending value : Asc.c_oAscSortOptions.Ascending
},{ },{
iconCls: 'menu__icon btn-sort-up',
caption : me.txtDescending, caption : me.txtDescending,
value : Asc.c_oAscSortOptions.Descending value : Asc.c_oAscSortOptions.Descending
},{ },{
@ -290,8 +310,10 @@ define([
}); });
me.pmiFilterCells = new Common.UI.MenuItem({ me.pmiFilterCells = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-autofilter',
caption : me.txtFilter, caption : me.txtFilter,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
{ {
@ -313,6 +335,7 @@ define([
}); });
me.pmiInsFunction = new Common.UI.MenuItem({ me.pmiInsFunction = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-function',
caption : me.txtFormula caption : me.txtFormula
}); });
@ -333,6 +356,7 @@ define([
me.menuHyperlink = new Common.UI.MenuItem({ me.menuHyperlink = new Common.UI.MenuItem({
caption : me.txtInsHyperlink, caption : me.txtInsHyperlink,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
me.menuEditHyperlink, me.menuEditHyperlink,
@ -344,6 +368,7 @@ define([
me.pmiRowHeight = new Common.UI.MenuItem({ me.pmiRowHeight = new Common.UI.MenuItem({
caption : me.txtRowHeight, caption : me.txtRowHeight,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ caption: me.txtAutoRowHeight, value: 'auto-row-height' }, { caption: me.txtAutoRowHeight, value: 'auto-row-height' },
@ -355,6 +380,7 @@ define([
me.pmiColumnWidth = new Common.UI.MenuItem({ me.pmiColumnWidth = new Common.UI.MenuItem({
caption : me.txtColumnWidth, caption : me.txtColumnWidth,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ caption: me.txtAutoColumnWidth, value: 'auto-column-width' }, { caption: me.txtAutoColumnWidth, value: 'auto-column-width' },
@ -372,6 +398,7 @@ define([
}); });
me.pmiAddComment = new Common.UI.MenuItem({ me.pmiAddComment = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-menu-comments',
id : 'id-context-menu-item-add-comment', id : 'id-context-menu-item-add-comment',
caption : me.txtAddComment caption : me.txtAddComment
}); });
@ -396,6 +423,7 @@ define([
me.pmiSparklines = new Common.UI.MenuItem({ me.pmiSparklines = new Common.UI.MenuItem({
caption : me.txtSparklines, caption : me.txtSparklines,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ caption: me.txtClearSparklines, value: Asc.c_oAscCleanOptions.Sparklines }, { caption: me.txtClearSparklines, value: Asc.c_oAscCleanOptions.Sparklines },
@ -413,6 +441,7 @@ define([
me.pmiNumFormat = new Common.UI.MenuItem({ me.pmiNumFormat = new Common.UI.MenuItem({
caption: me.txtNumFormat, caption: me.txtNumFormat,
menu: new Common.UI.Menu({ menu: new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items: [ items: [
{ {
@ -505,6 +534,7 @@ define([
}); });
me.ssMenu = new Common.UI.Menu({ me.ssMenu = new Common.UI.Menu({
cls: 'shifted-right',
id : 'id-context-menu-cell', id : 'id-context-menu-cell',
items : [ items : [
me.pmiCut, me.pmiCut,
@ -560,10 +590,12 @@ define([
}); });
me.mnuShapeAdvanced = new Common.UI.MenuItem({ me.mnuShapeAdvanced = new Common.UI.MenuItem({
iconCls : 'menu__icon btn-menu-shape',
caption : me.advancedShapeText caption : me.advancedShapeText
}); });
me.mnuImgAdvanced = new Common.UI.MenuItem({ me.mnuImgAdvanced = new Common.UI.MenuItem({
iconCls : 'menu__icon btn-menu-image',
caption : me.advancedImgText caption : me.advancedImgText
}); });
@ -572,10 +604,12 @@ define([
}); });
me.mnuSlicerAdvanced = new Common.UI.MenuItem({ me.mnuSlicerAdvanced = new Common.UI.MenuItem({
iconCls : 'menu__icon btn-slicer',
caption : me.advancedSlicerText caption : me.advancedSlicerText
}); });
me.mnuChartEdit = new Common.UI.MenuItem({ me.mnuChartEdit = new Common.UI.MenuItem({
iconCls : 'menu__icon btn-menu-chart',
caption : me.chartText caption : me.chartText
}); });
@ -585,11 +619,13 @@ define([
}); });
me.pmiImgCopy = new Common.UI.MenuItem({ me.pmiImgCopy = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-copy',
caption : me.txtCopy, caption : me.txtCopy,
value : 'copy' value : 'copy'
}); });
me.pmiImgPaste = new Common.UI.MenuItem({ me.pmiImgPaste = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-paste',
caption : me.txtPaste, caption : me.txtPaste,
value : 'paste' value : 'paste'
}); });
@ -605,6 +641,7 @@ define([
me.menuImgReplace = new Common.UI.MenuItem({ me.menuImgReplace = new Common.UI.MenuItem({
caption : me.textReplace, caption : me.textReplace,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items: [ items: [
new Common.UI.MenuItem({caption : this.textFromFile, value: 'file'}), new Common.UI.MenuItem({caption : this.textFromFile, value: 'file'}),
@ -617,6 +654,7 @@ define([
me.menuImgCrop = new Common.UI.MenuItem({ me.menuImgCrop = new Common.UI.MenuItem({
caption : me.textCrop, caption : me.textCrop,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items: [ items: [
new Common.UI.MenuItem({ new Common.UI.MenuItem({
@ -665,6 +703,7 @@ define([
me.menuImageArrange = new Common.UI.MenuItem({ me.menuImageArrange = new Common.UI.MenuItem({
caption : me.textArrange, caption : me.textArrange,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items: [ items: [
me.mnuBringToFront, me.mnuBringToFront,
@ -681,6 +720,7 @@ define([
me.menuImageAlign = new Common.UI.MenuItem({ me.menuImageAlign = new Common.UI.MenuItem({
caption : me.textAlign, caption : me.textAlign,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items: [{ items: [{
caption : me.textShapeAlignLeft, caption : me.textShapeAlignLeft,
@ -724,25 +764,30 @@ define([
me.menuImgRotate = new Common.UI.MenuItem({ me.menuImgRotate = new Common.UI.MenuItem({
caption : me.textRotate, caption : me.textRotate,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items: [ items: [
new Common.UI.MenuItem({ new Common.UI.MenuItem({
iconCls: 'menu__icon btn-rotate-90',
caption: me.textRotate90, caption: me.textRotate90,
type : 'rotate', type : 'rotate',
value : 1 value : 1
}), }),
new Common.UI.MenuItem({ new Common.UI.MenuItem({
iconCls: 'menu__icon btn-rotate-270',
caption: me.textRotate270, caption: me.textRotate270,
type : 'rotate', type : 'rotate',
value : 0 value : 0
}), }),
{ caption: '--' }, { caption: '--' },
new Common.UI.MenuItem({ new Common.UI.MenuItem({
iconCls: 'menu__icon btn-flip-hor',
caption: me.textFlipH, caption: me.textFlipH,
type : 'flip', type : 'flip',
value : 1 value : 1
}), }),
new Common.UI.MenuItem({ new Common.UI.MenuItem({
iconCls: 'menu__icon btn-flip-vert',
caption: me.textFlipV, caption: me.textFlipV,
type : 'flip', type : 'flip',
value : 0 value : 0
@ -752,6 +797,7 @@ define([
}); });
this.imgMenu = new Common.UI.Menu({ this.imgMenu = new Common.UI.Menu({
cls: 'shifted-right',
items: [ items: [
me.pmiImgCut, me.pmiImgCut,
me.pmiImgCopy, me.pmiImgCopy,
@ -778,23 +824,30 @@ define([
this.menuParagraphVAlign = new Common.UI.MenuItem({ this.menuParagraphVAlign = new Common.UI.MenuItem({
caption : this.vertAlignText, caption : this.vertAlignText,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign : 'tl-tr', menuAlign : 'tl-tr',
items: [ items: [
me.menuParagraphTop = new Common.UI.MenuItem({ me.menuParagraphTop = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-align-top',
caption : me.topCellText, caption : me.topCellText,
checkable : true, checkable : true,
checkmark : false,
toggleGroup : 'popupparagraphvalign', toggleGroup : 'popupparagraphvalign',
value : Asc.c_oAscVAlign.Top value : Asc.c_oAscVAlign.Top
}), }),
me.menuParagraphCenter = new Common.UI.MenuItem({ me.menuParagraphCenter = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-align-middle',
caption : me.centerCellText, caption : me.centerCellText,
checkable : true, checkable : true,
checkmark : false,
toggleGroup : 'popupparagraphvalign', toggleGroup : 'popupparagraphvalign',
value : Asc.c_oAscVAlign.Center value : Asc.c_oAscVAlign.Center
}), }),
this.menuParagraphBottom = new Common.UI.MenuItem({ this.menuParagraphBottom = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-align-bottom',
caption : me.bottomCellText, caption : me.bottomCellText,
checkable : true, checkable : true,
checkmark : false,
toggleGroup : 'popupparagraphvalign', toggleGroup : 'popupparagraphvalign',
value : Asc.c_oAscVAlign.Bottom value : Asc.c_oAscVAlign.Bottom
}) })
@ -805,6 +858,7 @@ define([
me.menuParagraphDirection = new Common.UI.MenuItem({ me.menuParagraphDirection = new Common.UI.MenuItem({
caption : me.directionText, caption : me.directionText,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
me.menuParagraphDirectH = new Common.UI.MenuItem({ me.menuParagraphDirectH = new Common.UI.MenuItem({
@ -839,8 +893,10 @@ define([
}); });
me.menuParagraphBullets = new Common.UI.MenuItem({ me.menuParagraphBullets = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-setmarkers',
caption : me.bulletsText, caption : me.bulletsText,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
{ template: _.template('<div id="id-docholder-menu-bullets" class="menu-layouts" style="width: 184px; margin: 0 4px;"></div>') }, { template: _.template('<div id="id-docholder-menu-bullets" class="menu-layouts" style="width: 184px; margin: 0 4px;"></div>') },
@ -897,6 +953,7 @@ define([
me.menuHyperlinkShape = new Common.UI.MenuItem({ me.menuHyperlinkShape = new Common.UI.MenuItem({
caption : me.txtInsHyperlink, caption : me.txtInsHyperlink,
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr', menuAlign: 'tl-tr',
items : [ items : [
me.menuEditHyperlinkShape, me.menuEditHyperlinkShape,
@ -906,6 +963,7 @@ define([
}); });
this.pmiTextAdvanced = new Common.UI.MenuItem({ this.pmiTextAdvanced = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-paragraph',
caption : me.txtTextAdvanced caption : me.txtTextAdvanced
}); });
@ -915,16 +973,19 @@ define([
}); });
me.pmiTextCopy = new Common.UI.MenuItem({ me.pmiTextCopy = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-copy',
caption : me.txtCopy, caption : me.txtCopy,
value : 'copy' value : 'copy'
}); });
me.pmiTextPaste = new Common.UI.MenuItem({ me.pmiTextPaste = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-paste',
caption : me.txtPaste, caption : me.txtPaste,
value : 'paste' value : 'paste'
}); });
this.textInShapeMenu = new Common.UI.Menu({ this.textInShapeMenu = new Common.UI.Menu({
cls: 'shifted-right',
items: [ items: [
me.pmiTextCut, me.pmiTextCut,
me.pmiTextCopy, me.pmiTextCopy,
@ -946,16 +1007,19 @@ define([
}); });
me.pmiCommonCopy = new Common.UI.MenuItem({ me.pmiCommonCopy = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-copy',
caption : me.txtCopy, caption : me.txtCopy,
value : 'copy' value : 'copy'
}); });
me.pmiCommonPaste = new Common.UI.MenuItem({ me.pmiCommonPaste = new Common.UI.MenuItem({
iconCls: 'menu__icon btn-paste',
caption : me.txtPaste, caption : me.txtPaste,
value : 'paste' value : 'paste'
}); });
this.copyPasteMenu = new Common.UI.Menu({ this.copyPasteMenu = new Common.UI.Menu({
cls: 'shifted-right',
items: [ items: [
me.pmiCommonCut, me.pmiCommonCut,
me.pmiCommonCopy, me.pmiCommonCopy,

View file

@ -1046,6 +1046,7 @@ define([
iconCls : 'toolbar__icon toolbar__icon btn-colorschemas', iconCls : 'toolbar__icon toolbar__icon btn-colorschemas',
lock : [_set.editCell, _set.lostConnect, _set.coAuth], lock : [_set.editCell, _set.lostConnect, _set.coAuth],
menu : new Common.UI.Menu({ menu : new Common.UI.Menu({
cls: 'shifted-left',
items: [], items: [],
restoreHeight: true restoreHeight: true
}) })
@ -1985,6 +1986,7 @@ define([
if (this.mnuColorSchema == null) { if (this.mnuColorSchema == null) {
this.mnuColorSchema = new Common.UI.Menu({ this.mnuColorSchema = new Common.UI.Menu({
cls: 'shifted-left',
restoreHeight: true restoreHeight: true
}); });
} }