* @return {boolean} false
*/
mw.rcfilters.ui.FormWrapperWidget.prototype.onLinkClick = function ( e ) {
- this.controller.updateChangesList( true, $( e.target ).data( 'params' ) );
+ this.controller.updateChangesList( $( e.target ).data( 'params' ) );
return false;
};
data[ $( this ).prop( 'name' ) ] = value;
} );
- this.controller.updateChangesList( true, data );
+ this.controller.updateChangesList( data );
return false;
};
this.$element.find( 'br' ).detach();
}
- this.$element.find(
- 'legend, .rclistfrom, .rcnotefrom, .rcoptions-listfromreset'
- ).detach();
+ if ( mw.rcfilters.featureFlags.liveUpdate ) {
+ this.$element.find(
+ 'legend, .rclistfrom, .rcnotefrom, .rcoptions-listfromreset'
+ ).detach();
+ }
if ( this.$element.text().trim() === '' ) {
this.$element.detach();