[DE] Fix other group in smart arts
This commit is contained in:
parent
e59a832756
commit
a2e62b7545
|
@ -1498,7 +1498,7 @@ define(function(){ 'use strict';
|
||||||
textPictureLineup: 'Picture Lineup',
|
textPictureLineup: 'Picture Lineup',
|
||||||
textFramedTextPicture: 'Framed Text Picture',
|
textFramedTextPicture: 'Framed Text Picture',
|
||||||
textBubblePictureList: 'Bubble Picture List',
|
textBubblePictureList: 'Bubble Picture List',
|
||||||
textOffice: 'Office.com',
|
textOther: 'Other',
|
||||||
textPictureOrganizationChart: 'Picture Organization Chart',
|
textPictureOrganizationChart: 'Picture Organization Chart',
|
||||||
textChevronAccentProcess: 'Chevron Accent Process',
|
textChevronAccentProcess: 'Chevron Accent Process',
|
||||||
textRadialPictureList: 'Radial Picture List',
|
textRadialPictureList: 'Radial Picture List',
|
||||||
|
@ -1795,12 +1795,11 @@ define(function(){ 'use strict';
|
||||||
{ type: Asc.c_oAscSmartArtTypes.PictureAccentProcess, tip: this.textPictureAccentProcess}
|
{ type: Asc.c_oAscSmartArtTypes.PictureAccentProcess, tip: this.textPictureAccentProcess}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// Office.com
|
// Other
|
||||||
{
|
{
|
||||||
id: 'menu-smart-art-group-office',
|
id: 'menu-smart-art-group-other',
|
||||||
sectionId: Asc.c_oAscSmartArtSectionNames.OfficeCom,
|
sectionId: Asc.c_oAscSmartArtSectionNames.OfficeCom,
|
||||||
caption: this.textOffice,
|
caption: this.textOther,
|
||||||
icon: '',
|
|
||||||
items: [
|
items: [
|
||||||
{ type: Asc.c_oAscSmartArtTypes.PictureOrganizationChart, tip: this.textPictureOrganizationChart},
|
{ type: Asc.c_oAscSmartArtTypes.PictureOrganizationChart, tip: this.textPictureOrganizationChart},
|
||||||
{ type: Asc.c_oAscSmartArtTypes.ChevronAccentProcess, tip: this.textChevronAccentProcess},
|
{ type: Asc.c_oAscSmartArtTypes.ChevronAccentProcess, tip: this.textChevronAccentProcess},
|
||||||
|
|
|
@ -2217,6 +2217,7 @@ define([
|
||||||
this.btnInsertChart.menu.on('show:before', onShowBefore);
|
this.btnInsertChart.menu.on('show:before', onShowBefore);
|
||||||
|
|
||||||
this.btnInsertSmartArt.setMenu(new Common.UI.Menu({
|
this.btnInsertSmartArt.setMenu(new Common.UI.Menu({
|
||||||
|
cls: 'shifted-right',
|
||||||
items: []
|
items: []
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@ -2226,7 +2227,7 @@ define([
|
||||||
caption: item.caption,
|
caption: item.caption,
|
||||||
value: item.sectionId,
|
value: item.sectionId,
|
||||||
itemId: item.id,
|
itemId: item.id,
|
||||||
iconCls: 'menu__icon ' + item.icon,
|
iconCls: item.icon ? 'menu__icon ' + item.icon : undefined,
|
||||||
menu: new Common.UI.Menu({
|
menu: new Common.UI.Menu({
|
||||||
items: [
|
items: [
|
||||||
{template: _.template('<div id="' + item.id + '" class="menu-add-smart-art" style="width: 400px; height: 500px; margin-left: 5px;"></div>')}
|
{template: _.template('<div id="' + item.id + '" class="menu-add-smart-art" style="width: 400px; height: 500px; margin-left: 5px;"></div>')}
|
||||||
|
|
|
@ -266,7 +266,7 @@
|
||||||
"Common.define.smartArt.textPictureLineup": "Picture Lineup",
|
"Common.define.smartArt.textPictureLineup": "Picture Lineup",
|
||||||
"Common.define.smartArt.textFramedTextPicture": "Framed Text Picture",
|
"Common.define.smartArt.textFramedTextPicture": "Framed Text Picture",
|
||||||
"Common.define.smartArt.textBubblePictureList": "Bubble Picture List",
|
"Common.define.smartArt.textBubblePictureList": "Bubble Picture List",
|
||||||
"Common.define.smartArt.textOffice": "Office.com",
|
"Common.define.smartArt.textOther": "Other",
|
||||||
"Common.define.smartArt.textPictureOrganizationChart": "Picture Organization Chart",
|
"Common.define.smartArt.textPictureOrganizationChart": "Picture Organization Chart",
|
||||||
"Common.define.smartArt.textChevronAccentProcess": "Chevron Accent Process",
|
"Common.define.smartArt.textChevronAccentProcess": "Chevron Accent Process",
|
||||||
"Common.define.smartArt.textRadialPictureList": "Radial Picture List",
|
"Common.define.smartArt.textRadialPictureList": "Radial Picture List",
|
||||||
|
|
Loading…
Reference in a new issue