Merge "ve.ui.MWLinkNodeInspector: Restore action buttons"

This commit is contained in:
jenkins-bot 2015-03-12 19:42:12 +00:00 committed by Gerrit Code Review
commit 0c8f0d8c6f

View file

@ -38,11 +38,13 @@ ve.ui.MWLinkNodeInspector.static.modelClasses = [ ve.dm.MWNumberedExternalLinkNo
ve.ui.MWLinkNodeInspector.static.actions = ve.ui.MWLinkNodeInspector.super.static.actions.concat( [
{
action: 'open',
label: OO.ui.deferMsg( 'visualeditor-linkinspector-open' )
label: OO.ui.deferMsg( 'visualeditor-linkinspector-open' ),
modes: [ 'edit', 'insert' ]
},
{
action: 'convert',
label: OO.ui.deferMsg( 'visualeditor-linknodeinspector-add-label' )
label: OO.ui.deferMsg( 'visualeditor-linknodeinspector-add-label' ),
modes: [ 'edit' ]
}
] );