Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/233650
Change subject: Don't open two editors when clicking a nested reply link
......................................................................
Don't open two editors when clicking a nested reply link
Bug: T109748
Change-Id: I8a40825e5c88b25496368a5dba97755c08fc1320
(cherry picked from commit 522a55a6efe71c7ebaf6bffd489f9a68e497e874)
---
M modules/flow-initialize.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/50/233650/1
diff --git a/modules/flow-initialize.js b/modules/flow-initialize.js
index ef5c3e8..3ccc0a1 100644
--- a/modules/flow-initialize.js
+++ b/modules/flow-initialize.js
@@ -242,7 +242,7 @@
// replyTo can refer to a post ID or a
topic ID
// For posts, the ReplyWidget should go
in .flow-replies
// For topics, it's directly inside the
topic
- $targetContainer = $( '#flow-post-' +
replyTo + ' .flow-replies, #flow-topic-' + replyTo ),
+ $targetContainer = $( '#flow-post-' +
replyTo + ' > .flow-replies, #flow-topic-' + replyTo ),
$existingWidget =
$targetContainer.children( '.flow-ui-replyWidget' );
// Check that there's not already a reply
widget existing in the same place
--
To view, visit https://gerrit.wikimedia.org/r/233650
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a40825e5c88b25496368a5dba97755c08fc1320
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: wmf/1.26wmf19
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits