mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
Fix two uses of now-removed OOUI mixin aliases
Change-Id: I84c3f72a05d17f0f404a0beadbea70720494794d
This commit is contained in:
parent
4a2c19b60e
commit
94a3bc44e7
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* @class
|
||||
* @extends OO.ui.OptionWidget
|
||||
* @mixins OO.ui.DraggableElement
|
||||
* @mixins OO.ui.mixin.DraggableElement
|
||||
*
|
||||
* @constructor
|
||||
* @param {Mixed} data Option data
|
||||
|
@ -17,7 +17,7 @@ mw.TemplateData.DragDropItemWidget = function mwTemplateDataDragDropItemWidget(
|
|||
mw.TemplateData.DragDropItemWidget.super.call( this, $.extend( {}, { icon: 'parameter' }, config ) );
|
||||
|
||||
// Mixin constructors
|
||||
OO.ui.DraggableElement.call( this, config );
|
||||
OO.ui.mixin.DraggableElement.call( this, config );
|
||||
|
||||
// Initialization
|
||||
this.$element
|
||||
|
@ -27,4 +27,4 @@ mw.TemplateData.DragDropItemWidget = function mwTemplateDataDragDropItemWidget(
|
|||
/* Setup */
|
||||
|
||||
OO.inheritClass( mw.TemplateData.DragDropItemWidget, OO.ui.DecoratedOptionWidget );
|
||||
OO.mixinClass( mw.TemplateData.DragDropItemWidget, OO.ui.DraggableElement );
|
||||
OO.mixinClass( mw.TemplateData.DragDropItemWidget, OO.ui.mixin.DraggableElement );
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @class
|
||||
* @extends OO.ui.Widget
|
||||
* @mixins OO.ui.DraggableGroupElement
|
||||
* @mixins OO.ui.mixin.DraggableGroupElement
|
||||
*
|
||||
* @constructor
|
||||
* @param {Object} [config] Configuration options
|
||||
|
@ -19,7 +19,7 @@ mw.TemplateData.DragDropWidget = function mwTemplateDataDragDropWidget( config )
|
|||
mw.TemplateData.DragDropWidget.super.call( this, config );
|
||||
|
||||
// Mixin constructors
|
||||
OO.ui.DraggableGroupElement.call( this, $.extend( {}, config, { $group: this.$element } ) );
|
||||
OO.ui.mixin.DraggableGroupElement.call( this, $.extend( {}, config, { $group: this.$element } ) );
|
||||
|
||||
// Initialization
|
||||
this.$element.addClass( 'tdg-TemplateDataDragDropWidget' );
|
||||
|
@ -28,7 +28,7 @@ mw.TemplateData.DragDropWidget = function mwTemplateDataDragDropWidget( config )
|
|||
/* Setup */
|
||||
|
||||
OO.inheritClass( mw.TemplateData.DragDropWidget, OO.ui.Widget );
|
||||
OO.mixinClass( mw.TemplateData.DragDropWidget, OO.ui.DraggableGroupElement );
|
||||
OO.mixinClass( mw.TemplateData.DragDropWidget, OO.ui.mixin.DraggableGroupElement );
|
||||
|
||||
/**
|
||||
* Get an array of keys based on the current items, in order
|
||||
|
|
Loading…
Reference in a new issue