Merge "Exclude tools from catch-all menu in media and reference edit dialogs"

This commit is contained in:
jenkins-bot 2013-09-05 04:59:38 +00:00 committed by Gerrit Code Review
commit 0333d87fd3
2 changed files with 9 additions and 2 deletions

View file

@ -38,7 +38,14 @@ ve.ui.MWMediaEditDialog.static.icon = 'picture';
ve.ui.MWMediaEditDialog.static.toolbarGroups = [
{ 'include': [ 'undo', 'redo' ] },
{ 'include': [ 'bold', 'italic', 'link', 'clear' ] },
{ 'include': '*', 'exclude': [ 'referenceList' ] }
{
'include': '*',
'exclude': [
{ 'group': 'format' },
{ 'group': 'structure' },
'referenceList'
]
}
];
ve.ui.MWMediaEditDialog.static.surfaceCommands = [

View file

@ -39,7 +39,7 @@ ve.ui.MWReferenceDialog.static.toolbarGroups = [
{ 'include': [ 'undo', 'redo' ] },
{ 'include': [ 'bold', 'italic', 'link', 'clear' ] },
{ 'include': [ 'number', 'bullet', 'outdent', 'indent' ] },
{ 'include': '*', 'exclude': [ 'reference', 'referenceList' ] }
{ 'include': '*', 'exclude': [ { 'group': 'format' }, 'reference', 'referenceList' ] }
];
ve.ui.MWReferenceDialog.static.surfaceCommands = [