diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/comment/video-comments.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/comment/video-comments.component.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/comment/video-comments.component.html b/client/src/app/+videos/+video-watch/comment/video-comments.component.html index dd1d43560..1bc0885a4 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comments.component.html +++ b/client/src/app/+videos/+video-watch/comment/video-comments.component.html | |||
@@ -27,6 +27,7 @@ | |||
27 | [video]="video" | 27 | [video]="video" |
28 | [user]="user" | 28 | [user]="user" |
29 | (commentCreated)="onCommentThreadCreated($event)" | 29 | (commentCreated)="onCommentThreadCreated($event)" |
30 | [textValue]="commentThreadRedraftValue" | ||
30 | ></my-video-comment-add> | 31 | ></my-video-comment-add> |
31 | 32 | ||
32 | <div *ngIf="componentPagination.totalItems === 0 && comments.length === 0" i18n>No comments.</div> | 33 | <div *ngIf="componentPagination.totalItems === 0 && comments.length === 0" i18n>No comments.</div> |
@@ -50,9 +51,11 @@ | |||
50 | [firstInThread]="true" | 51 | [firstInThread]="true" |
51 | (wantedToReply)="onWantedToReply($event)" | 52 | (wantedToReply)="onWantedToReply($event)" |
52 | (wantedToDelete)="onWantedToDelete($event)" | 53 | (wantedToDelete)="onWantedToDelete($event)" |
54 | (wantedToRedraft)="onWantedToRedraft($event)" | ||
53 | (threadCreated)="onThreadCreated($event)" | 55 | (threadCreated)="onThreadCreated($event)" |
54 | (resetReply)="onResetReply()" | 56 | (resetReply)="onResetReply()" |
55 | (timestampClicked)="handleTimestampClicked($event)" | 57 | (timestampClicked)="handleTimestampClicked($event)" |
58 | [redraftValue]="commentReplyRedraftValue" | ||
56 | ></my-video-comment> | 59 | ></my-video-comment> |
57 | </div> | 60 | </div> |
58 | 61 | ||
@@ -66,9 +69,11 @@ | |||
66 | [firstInThread]="i + 1 !== comments.length" | 69 | [firstInThread]="i + 1 !== comments.length" |
67 | (wantedToReply)="onWantedToReply($event)" | 70 | (wantedToReply)="onWantedToReply($event)" |
68 | (wantedToDelete)="onWantedToDelete($event)" | 71 | (wantedToDelete)="onWantedToDelete($event)" |
72 | (wantedToRedraft)="onWantedToRedraft($event)" | ||
69 | (threadCreated)="onThreadCreated($event)" | 73 | (threadCreated)="onThreadCreated($event)" |
70 | (resetReply)="onResetReply()" | 74 | (resetReply)="onResetReply()" |
71 | (timestampClicked)="handleTimestampClicked($event)" | 75 | (timestampClicked)="handleTimestampClicked($event)" |
76 | [redraftValue]="commentReplyRedraftValue" | ||
72 | > | 77 | > |
73 | <div *ngIf="comment.totalReplies !== 0 && !threadComments[comment.id]" (click)="viewReplies(comment.id)" class="view-replies mb-2"> | 78 | <div *ngIf="comment.totalReplies !== 0 && !threadComments[comment.id]" (click)="viewReplies(comment.id)" class="view-replies mb-2"> |
74 | <span class="glyphicon glyphicon-menu-down"></span> | 79 | <span class="glyphicon glyphicon-menu-down"></span> |