Bug: T168828
Change-Id: I436f00bc87db143116125a185abd8000132df195
// Parent
mw.rcfilters.ui.SaveFiltersPopupButtonWidget.parent.call( this, $.extend( {
framed: false,
// Parent
mw.rcfilters.ui.SaveFiltersPopupButtonWidget.parent.call( this, $.extend( {
framed: false,
$overlay: this.$overlay,
title: mw.msg( 'rcfilters-savedqueries-add-new-title' ),
popup: {
$overlay: this.$overlay,
title: mw.msg( 'rcfilters-savedqueries-add-new-title' ),
popup: {
}
}, config ) );
// // HACK: Add an icon to the popup head label
}
}, config ) );
// // HACK: Add an icon to the popup head label
- this.popup.$head.prepend( ( new OO.ui.IconWidget( { icon: 'clip' } ) ).$element );
+ this.popup.$head.prepend( ( new OO.ui.IconWidget( { icon: 'unClip' } ) ).$element );
this.input = new OO.ui.TextInputWidget( {
validate: /\S/
this.input = new OO.ui.TextInputWidget( {
validate: /\S/
- /**
- * Respond to popup toggle event
- *
- * @param {boolean} isVisible Popup is visible
- */
- mw.rcfilters.ui.SaveFiltersPopupButtonWidget.prototype.onPopupToggle = function ( isVisible ) {
- this.setIcon( isVisible ? 'unClip' : 'clip' );
- };
-
/**
* Respond to popup ready event
*/
/**
* Respond to popup ready event
*/