Bsitu has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/93614


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/14/93614/1

diff --git a/modules/discussion/ui.js b/modules/discussion/ui.js
index 3578db4..61e45a9 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' ).attr( '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: newchange
Gerrit-Change-Id: Ib92476c7857234cb6f9e705c0e6928bb06d667e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>

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

Reply via email to