jenkins-bot has submitted this change and it was merged.

Change subject: Post reply is broken due to a mismatch of a clas name
......................................................................


Post reply is broken due to a mismatch of a clas name

This is probably because we updated the class name attribute in another patch

Change-Id: Ib92476c7857234cb6f9e705c0e6928bb06d667e0
---
M modules/discussion/ui.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Werdna: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/discussion/ui.js b/modules/discussion/ui.js
index 3578db4..65869a1 100644
--- a/modules/discussion/ui.js
+++ b/modules/discussion/ui.js
@@ -56,7 +56,7 @@
                                 * @param $targetFrom the form juqery object to 
submit post reply
                                 */
                                function adjustReplyTarget( $btn, $targetForm ) 
{
-                                       var replyTo = $btn.closest( 
'.flow-post' ).attr( 'data-post-id' );
+                                       var replyTo = $btn.closest( 
'.flow-post-container' ).data( 'post-id' );
                                        var replyDefaultText = $btn.closest( 
'.flow-post' )
                                                .siblings( 
'form.flow-reply-form' )
                                                .find( 
'input[name="placeholder"]' ).val();

-- 
To view, visit https://gerrit.wikimedia.org/r/93614
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib92476c7857234cb6f9e705c0e6928bb06d667e0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Werdna <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to