* @see WCF.InlineEditor._getTriggerElement()
*/
_getTriggerElement: function(element) {
- return element.find('.jsThreadInlineEditor');
+ return element.find('.jsConversationInlineEditor');
},
/**
{pages print=true assign=pagesLinks controller='Conversation' object=$conversation link="pageNo=%d"}
<nav>
- <ul class="conversation jsThreadInlineEditorContainer" data-conversation-id="{@$conversation->conversationID}" data-label-ids="[ {implode from=$conversation->getAssignedLabels() item=label}{@$label->labelID}{/implode} ]" data-is-closed="{@$conversation->isClosed}" data-can-close-conversation="{if $conversation->userID == $__wcf->getUser()->userID}1{else}0{/if}" data-can-add-participants="{if $conversation->canAddParticipants()}1{else}0{/if}">
- <li class="jsOnly"><a class="button jsThreadInlineEditor"><span class="icon icon16 icon-pencil"></span> <span>{lang}wcf.global.button.edit{/lang}</span></a></li>
+ <ul class="conversation jsConversationInlineEditorContainer" data-conversation-id="{@$conversation->conversationID}" data-label-ids="[ {implode from=$conversation->getAssignedLabels() item=label}{@$label->labelID}{/implode} ]" data-is-closed="{@$conversation->isClosed}" data-can-close-conversation="{if $conversation->userID == $__wcf->getUser()->userID}1{else}0{/if}" data-can-add-participants="{if $conversation->canAddParticipants()}1{else}0{/if}">
+ <li class="jsOnly"><a class="button jsConversationInlineEditor"><span class="icon icon16 icon-pencil"></span> <span>{lang}wcf.global.button.edit{/lang}</span></a></li>
{if !$conversation->isClosed}<li><a href="{link controller='ConversationMessageAdd' id=$conversationID}{/link}" title="{lang}wcf.conversation.message.add{/lang}" class="button buttonPrimary jsQuickReply"><span class="icon icon16 icon-plus"></span> <span>{lang}wcf.conversation.message.button.add{/lang}</span></a></li>{/if}
{event name='largeButtonsTop'}
</ul>
<small>
<a href="{link controller='User' object=$conversation->getUserProfile()->getDecoratedObject()}{/link}" class="userLink" data-user-id="{@$conversation->userID}">{$conversation->username}</a>
- {@$conversation->time|time}
- <span class="jsOnly">- <a class="jsThreadInlineEditor">{lang}wcf.global.button.edit{/lang}</a></span>
+ <span class="jsOnly">- <a class="jsConversationInlineEditor">{lang}wcf.global.button.edit{/lang}</a></span>
</small>
{if $conversation->getParticipantSummary()|count}