mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Merge "VE integration: Remove "unrecoverable" errors"
This commit is contained in:
commit
42165168a6
|
@ -18,7 +18,7 @@ mw.loader.using( 'ext.visualEditor.targetLoader' ).then( function () {
|
|||
return err.code === 'abusefilter-warning';
|
||||
} );
|
||||
// Handle warnings/errors from Extension:AbuseFilter
|
||||
target.showSaveError( target.extractErrorMessages( data ), isWarning, isWarning );
|
||||
target.showSaveError( target.extractErrorMessages( data ), isWarning );
|
||||
// Emit event for tracking. TODO: This is a bad design
|
||||
target.emit( 'saveErrorAbuseFilter' );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue