Commit 59963802 by Adam Committed by GitHub

Merge pull request #14569 from edx/aj/fix-discussion-follow-post

Fix posts are not automatically followed
parents 73e030de 091fd734
......@@ -138,7 +138,7 @@
group = this.$('.js-group-select option:selected').attr('value');
anonymous = false || this.$('.js-anon').is(':checked');
anonymousToPeers = false || this.$('.js-anon-peers').is(':checked');
follow = false || this.$('.js-follow').is(':checked');
follow = false || this.$('input[name=follow]').is(':checked');
topicId = this.isTabMode() ? this.topicView.getCurrentTopicId() : this.topicId;
url = DiscussionUtil.urlFor('create_thread', topicId);
return DiscussionUtil.safeAjax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment