mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 02:48:18 +00:00
NewTopicController: Clear section title on teardown
Bug: T272393 Change-Id: I633adc17c18e50b921400ec2fcab57649da147dc
This commit is contained in:
parent
1c9f038aac
commit
2337600f38
|
@ -110,6 +110,7 @@ NewTopicController.prototype.teardown = function ( abandoned ) {
|
|||
NewTopicController.super.prototype.teardown.call( this, abandoned );
|
||||
|
||||
this.replyWidget.storage.remove( this.replyWidget.storagePrefix + '/title' );
|
||||
this.sectionTitle.setValue( '' );
|
||||
this.container.$element.detach();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue