diff --git a/modules/widgets/ext.templateDataGenerator.dragDropItemWidget.js b/modules/widgets/ext.templateDataGenerator.dragDropItemWidget.js index e2a4c188..7f98a01b 100644 --- a/modules/widgets/ext.templateDataGenerator.dragDropItemWidget.js +++ b/modules/widgets/ext.templateDataGenerator.dragDropItemWidget.js @@ -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 ); diff --git a/modules/widgets/ext.templateDataGenerator.dragDropWidget.js b/modules/widgets/ext.templateDataGenerator.dragDropWidget.js index c49ec8f5..e49c2904 100644 --- a/modules/widgets/ext.templateDataGenerator.dragDropWidget.js +++ b/modules/widgets/ext.templateDataGenerator.dragDropWidget.js @@ -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