mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +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 )
|
||||
.next( function () {
|
||||
this.allowProtocolInInternal = false;
|
||||
// Make sure both inputs are cleared
|
||||
this.internalAnnotationInput.setAnnotation( null );
|
||||
this.externalAnnotationInput.setAnnotation( null );
|
||||
}, this );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue