mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
Merge "Empty all inputs on link inspector teardown"
This commit is contained in:
commit
b24a4529c5
|
@ -145,6 +145,9 @@ ve.ui.MWLinkAnnotationInspector.prototype.getTeardownProcess = function ( data )
|
||||||
return ve.ui.MWLinkAnnotationInspector.super.prototype.getTeardownProcess.call( this, data )
|
return ve.ui.MWLinkAnnotationInspector.super.prototype.getTeardownProcess.call( this, data )
|
||||||
.next( function () {
|
.next( function () {
|
||||||
this.allowProtocolInInternal = false;
|
this.allowProtocolInInternal = false;
|
||||||
|
// Make sure both inputs are cleared
|
||||||
|
this.internalAnnotationInput.setAnnotation( null );
|
||||||
|
this.externalAnnotationInput.setAnnotation( null );
|
||||||
}, this );
|
}, this );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue