Make 'Ack' mark thread as resolved
Bug: Issue 5568 Change-Id: Id8dba066766b5cc8d943bcb5df877c6b66b73ec1
This commit is contained in:
parent
3ae681fd6e
commit
b5a681c75b
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();
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user