Make 'Ack' mark thread as resolved

Bug: Issue 5568
Change-Id: Id8dba066766b5cc8d943bcb5df877c6b66b73ec1
This commit is contained in:
Kasper Nilsson 2017-02-16 11:05:30 -08:00
parent 3ae681fd6e
commit b5a681c75b
2 changed files with 2 additions and 1 deletions
polygerrit-ui/app/elements/diff/gr-diff-comment-thread

@ -225,7 +225,7 @@
_handleCommentAck: function(e) {
var comment = this._lastComment;
this._createReplyComment(comment, 'Ack', false, comment.unresolved);
this._createReplyComment(comment, 'Ack', false, false);
},
_handleCommentDone: function(e) {

@ -278,6 +278,7 @@ limitations under the License.
assert.equal(drafts.length, 1);
assert.equal(drafts[0].message, 'Ack');
assert.equal(drafts[0].in_reply_to, 'baf0414d_60047215');
assert.equal(drafts[0].unresolved, false);
done();
});
});