NewTopicController: Clear section title on teardown

Bug: T272393
Change-Id: I633adc17c18e50b921400ec2fcab57649da147dc
This commit is contained in:
Bartosz Dziewoński 2021-01-19 21:29:04 +01:00 committed by Ed Sanders
parent 1c9f038aac
commit 2337600f38

View file

@ -110,6 +110,7 @@ NewTopicController.prototype.teardown = function ( abandoned ) {
NewTopicController.super.prototype.teardown.call( this, abandoned ); NewTopicController.super.prototype.teardown.call( this, abandoned );
this.replyWidget.storage.remove( this.replyWidget.storagePrefix + '/title' ); this.replyWidget.storage.remove( this.replyWidget.storagePrefix + '/title' );
this.sectionTitle.setValue( '' );
this.container.$element.detach(); this.container.$element.detach();
}; };