diff options
author | Volker E <volker.e@wikimedia.org> | 2017-02-14 15:52:58 -0800 |
---|---|---|
committer | Jforrester <jforrester@wikimedia.org> | 2017-02-16 00:59:40 +0000 |
commit | d969a58e746181435297863ebd53ad4ec1bfabc9 (patch) | |
tree | 2dd74a6983ee1b9551fba1eaf741e727b1344614 /resources/lib/oojs-ui/oojs-ui-windows.js | |
parent | 43a7b72ae0ba4c7454d1eaa8d465d965f3590fcd (diff) | |
download | mediawikicore-d969a58e746181435297863ebd53ad4ec1bfabc9.tar.gz mediawikicore-d969a58e746181435297863ebd53ad4ec1bfabc9.zip |
Update OOjs UI to v0.19.2
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.2
Depends-On: If351020ee7f29d038eeea8258e0bd607c4134060
Change-Id: I2dbc0fb49cb500f8a378b5f9c8175fd1dabebf17
Diffstat (limited to 'resources/lib/oojs-ui/oojs-ui-windows.js')
-rw-r--r-- | resources/lib/oojs-ui/oojs-ui-windows.js | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/resources/lib/oojs-ui/oojs-ui-windows.js b/resources/lib/oojs-ui/oojs-ui-windows.js index 25f4bdf0c90b..c842c6233b19 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows.js +++ b/resources/lib/oojs-ui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * 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 ) { @@ -2399,7 +2399,6 @@ OO.ui.Dialog = function OoUiDialog( config ) { // Events this.actions.connect( this, { click: 'onActionClick', - resize: 'onActionResize', change: 'onActionsChange' } ); @@ -2494,16 +2493,6 @@ OO.ui.Dialog.prototype.onDialogKeyDown = function ( e ) { }; /** - * 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. * * @private @@ -2801,14 +2790,6 @@ OO.ui.MessageDialog.prototype.setManager = function ( manager ) { }; /** - * @inheritdoc - */ -OO.ui.MessageDialog.prototype.onActionResize = function ( action ) { - this.fitActions(); - return OO.ui.MessageDialog.parent.prototype.onActionResize.call( this, action ); -}; - -/** * Handle window resized events. * * @private @@ -3149,16 +3130,6 @@ OO.ui.ProcessDialog.prototype.onRetryButtonClick = function () { /** * @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 - */ OO.ui.ProcessDialog.prototype.initialize = function () { // Parent method OO.ui.ProcessDialog.parent.prototype.initialize.call( this ); |