mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 08:50:07 +00:00
Merge "Remove deprecated TargetWidget APIs"
This commit is contained in:
commit
d4928c86e6
|
@ -262,7 +262,6 @@ ve.ui.MWReferenceDialog.prototype.useReference = function ( ref ) {
|
||||||
this.referenceGroupInput.setDisabled( true );
|
this.referenceGroupInput.setDisabled( true );
|
||||||
this.referenceGroupInput.setValue( this.originalGroup );
|
this.referenceGroupInput.setValue( this.originalGroup );
|
||||||
this.referenceGroupInput.setDisabled( false );
|
this.referenceGroupInput.setDisabled( false );
|
||||||
this.referenceTarget.initialize();
|
|
||||||
|
|
||||||
group = this.getFragment().getDocument().getInternalList()
|
group = this.getFragment().getDocument().getInternalList()
|
||||||
.getNodeGroup( this.referenceModel.getListGroup() );
|
.getNodeGroup( this.referenceModel.getListGroup() );
|
||||||
|
@ -305,7 +304,6 @@ ve.ui.MWReferenceDialog.prototype.initialize = function () {
|
||||||
|
|
||||||
this.referenceTarget = ve.init.target.createTargetWidget(
|
this.referenceTarget = ve.init.target.createTargetWidget(
|
||||||
{
|
{
|
||||||
tools: ve.copy( ve.init.target.constructor.static.toolbarGroups ),
|
|
||||||
includeCommands: this.constructor.static.includeCommands,
|
includeCommands: this.constructor.static.includeCommands,
|
||||||
excludeCommands: this.constructor.static.excludeCommands.concat( citeCommands ),
|
excludeCommands: this.constructor.static.excludeCommands.concat( citeCommands ),
|
||||||
importRules: this.constructor.static.getImportRules(),
|
importRules: this.constructor.static.getImportRules(),
|
||||||
|
|
Loading…
Reference in a new issue