client/comments: fix canceling preview
This commit is contained in:
parent
7a6d25ac43
commit
f24ea3450d
|
@ -62,8 +62,7 @@ class CommentFormControl {
|
||||||
this._hostNode.querySelector('.tabs-wrapper').style.minHeight = null;
|
this._hostNode.querySelector('.tabs-wrapper').style.minHeight = null;
|
||||||
misc.disableExitConfirmation();
|
misc.disableExitConfirmation();
|
||||||
views.clearMessages(this._hostNode);
|
views.clearMessages(this._hostNode);
|
||||||
this._hostNode.querySelector('.edit.tab textarea').value =
|
this.setText(this._comment.text);
|
||||||
this._comment.text;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get _textareaNode() {
|
get _textareaNode() {
|
||||||
|
|
Loading…
Reference in New Issue