Merge "Remove obsolete disconnect()"

This commit is contained in:
jenkins-bot 2024-08-12 08:59:34 +00:00 committed by Gerrit Code Review
commit f11e415c24

View file

@ -274,7 +274,6 @@ ve.ui.MWReferenceDialog.prototype.getSetupProcess = function ( data ) {
ve.ui.MWReferenceDialog.prototype.getTeardownProcess = function ( data ) {
return ve.ui.MWReferenceDialog.super.prototype.getTeardownProcess.call( this, data )
.first( () => {
this.editPanel.referenceTarget.getSurface().getModel().disconnect( this );
this.editPanel.clear();
this.reuseSearch.clearSearch();
this.referenceModel = null;