Fixed Submitting replies attaches to latest profile block with certain setup

Russ

Well-known member
Affected version
2.1
Bit of a unique one... if a user wanted to move the sidebar to the left of the content by loading:

Code:
            <xf:if is="$sidebar">
                <div class="p-body-sidebar">
                    <xf:ad position="container_sidebar_above" />
                    <xf:foreach loop="$sidebar" value="$sidebarHtml">
                        {$sidebarHtml}
                    </xf:foreach>
                    <xf:ad position="container_sidebar_below" />
                </div>
            </xf:if>

Before
Code:
            <div class="p-body-content">
                <xf:ad position="container_content_above" />
                <div class="p-body-pageContent">{$content|raw}</div>
                <xf:ad position="container_content_below" />
            </div>

And they also load profile posts widget on the thread_view page, when submitting a reply it'll actually attach itself on the profile block for the initial view (refreshing fixes it obviously). I'm guessing it'll happen anytime profile post widget is loaded before the thread (top content)


profilebug.gif

Believe it has something to do with the class: js-replyNewMessageContainer
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Increase thread quick reply message container selector specificity
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom