Fixes CSS class names
authorMatthias Schmidt <gravatronics@live.com>
Fri, 15 Mar 2013 13:27:08 +0000 (14:27 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 15 Mar 2013 13:27:08 +0000 (14:27 +0100)
files/js/WCF.Conversation.js
templates/conversation.tpl
templates/conversationList.tpl

index 8ce193fa6b0f7daa10dfda70798e09246af462ad..a15c66e8504e77d5ceb07335176d76a370098736 100644 (file)
@@ -421,7 +421,7 @@ WCF.Conversation.InlineEditor = WCF.InlineEditor.extend({
         * @see WCF.InlineEditor._getTriggerElement()
         */
        _getTriggerElement: function(element) {
-               return element.find('.jsThreadInlineEditor');
+               return element.find('.jsConversationInlineEditor');
        },
        
        /**
index b43813acaac4c60cff506d767989f5138ebd1c36..aa951c65e04e0f66d0ec1069c177436987611258 100644 (file)
@@ -97,8 +97,8 @@
        {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>
index a6e8440046a58e63217206635060543f6f6e07df..4dc4e0cae7f107f7638dbc55fee2d54bec8572c9 100644 (file)
                                                        <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}