/*!
- * OOjs UI v0.19.1
+ * OOjs UI v0.19.2
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2017 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2017-02-08T00:38:31Z
+ * Date: 2017-02-14T22:47:20Z
*/
( function ( OO ) {
// Events
this.actions.connect( this, {
click: 'onActionClick',
- resize: 'onActionResize',
change: 'onActionsChange'
} );
}
};
-/**
- * Handle action resized events.
- *
- * @private
- * @param {OO.ui.ActionWidget} action Action that was resized
- */
-OO.ui.Dialog.prototype.onActionResize = function () {
- // Override in subclass
-};
-
/**
* Handle action click events.
*
return this;
};
-/**
- * @inheritdoc
- */
-OO.ui.MessageDialog.prototype.onActionResize = function ( action ) {
- this.fitActions();
- return OO.ui.MessageDialog.parent.prototype.onActionResize.call( this, action );
-};
-
/**
* Handle window resized events.
*
this.executeAction( this.currentAction );
};
-/**
- * @inheritdoc
- */
-OO.ui.ProcessDialog.prototype.onActionResize = function ( action ) {
- if ( this.actions.isSpecial( action ) ) {
- this.fitLabel();
- }
- return OO.ui.ProcessDialog.parent.prototype.onActionResize.call( this, action );
-};
-
/**
* @inheritdoc
*/