mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Merge "Remove obsolete disconnect()"
This commit is contained in:
commit
f11e415c24
|
@ -274,7 +274,6 @@ ve.ui.MWReferenceDialog.prototype.getSetupProcess = function ( data ) {
|
||||||
ve.ui.MWReferenceDialog.prototype.getTeardownProcess = function ( data ) {
|
ve.ui.MWReferenceDialog.prototype.getTeardownProcess = function ( data ) {
|
||||||
return ve.ui.MWReferenceDialog.super.prototype.getTeardownProcess.call( this, data )
|
return ve.ui.MWReferenceDialog.super.prototype.getTeardownProcess.call( this, data )
|
||||||
.first( () => {
|
.first( () => {
|
||||||
this.editPanel.referenceTarget.getSurface().getModel().disconnect( this );
|
|
||||||
this.editPanel.clear();
|
this.editPanel.clear();
|
||||||
this.reuseSearch.clearSearch();
|
this.reuseSearch.clearSearch();
|
||||||
this.referenceModel = null;
|
this.referenceModel = null;
|
||||||
|
|
Loading…
Reference in a new issue