Merge pull request #14569 from edx/aj/fix-discussion-follow-post
Fix posts are not automatically followed
This commit is contained in:
@@ -138,7 +138,7 @@
|
|||||||
group = this.$('.js-group-select option:selected').attr('value');
|
group = this.$('.js-group-select option:selected').attr('value');
|
||||||
anonymous = false || this.$('.js-anon').is(':checked');
|
anonymous = false || this.$('.js-anon').is(':checked');
|
||||||
anonymousToPeers = false || this.$('.js-anon-peers').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;
|
topicId = this.isTabMode() ? this.topicView.getCurrentTopicId() : this.topicId;
|
||||||
url = DiscussionUtil.urlFor('create_thread', topicId);
|
url = DiscussionUtil.urlFor('create_thread', topicId);
|
||||||
return DiscussionUtil.safeAjax({
|
return DiscussionUtil.safeAjax({
|
||||||
|
|||||||
Reference in New Issue
Block a user