Skip to content

Commit c16a975

Browse files
committed
Double-Click on the avatar to mark a conversation as read.
1 parent e76583a commit c16a975

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

templates/conversationList.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@
9595

9696
{if $__wcf->user->userID}
9797
<script data-relocate="true">
98-
require(['WoltLabSuite/Core/Conversation/Ui/MarkAllAsRead'], ({ setup }) => {
99-
setup();
98+
require(['WoltLabSuite/Core/Conversation/Ui/MarkAllAsRead', 'WoltLabSuite/Core/Conversation/Ui/MarkAsRead'], (MarkAllAsRead, MarkAsRead) => {
99+
MarkAllAsRead.setup();
100+
MarkAsRead.setup();
100101
});
101102
</script>
102103
{/if}

templates/conversationListItems.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{foreach from=$view->getItems() item=conversation}
22
<div class="listView__item tabularListRow" data-object-id="{$conversation->getObjectID()}">
3-
<ol class="tabularListColumns messageGroup conversation{if $conversation->isNew()} new{/if}">
3+
<ol class="tabularListColumns messageGroup conversation{if $conversation->isNew()} new{/if}" data-conversation-id="{$conversation->conversationID}">
44
<li class="columnInteractions">
55
{if $view->hasBulkInteractions()}
66
<label class="button small jsTooltip" title="{lang}wcf.clipboard.item.mark{/lang}">

0 commit comments

Comments
 (0)