ve.ui.MWCitationDialog: Remove unneeded code re-setting insert label

This sets the label to be the same as the default value inherited from
ve.ui.MWTemplateDialog. Looks like it's no longer needed since change
Ia8fb88d3501ffa2c26add4419da5463a926f45d1 in VE-MW (2014).

Change-Id: Icd64d22aef29a3791352e1839993ea8462a147f3
This commit is contained in:
Bartosz Dziewoński 2018-11-29 23:09:23 +01:00
parent c31c93f619
commit b7bdcaeccc

View file

@ -100,9 +100,6 @@ ve.ui.MWCitationDialog.prototype.getSetupProcess = function ( data ) {
); );
} }
} }
this.actions.forEach( { actions: 'insert' }, function ( action ) {
action.setLabel( ve.msg( 'visualeditor-dialog-action-insert' ) );
} );
}, this ); }, this );
}; };