Discussion Selector fixes. TNL-6648

This commit is contained in:
Awais Jibran
2017-03-07 10:32:09 +05:00
parent 8688edaf4f
commit 9c0f72d516

View File

@@ -136,8 +136,8 @@
title = this.$('.js-post-title').val();
body = this.$('.js-post-body').find('.wmd-input').val();
group = this.$('.js-group-select option:selected').attr('value');
anonymous = false || this.$('.js-anon').is(':checked');
anonymousToPeers = false || this.$('.js-anon-peers').is(':checked');
anonymous = false || this.$('input[name=anonymous]').is(':checked');
anonymousToPeers = false || this.$('input[name=anonymous_to_peers]').is(':checked');
follow = false || this.$('input[name=follow]').is(':checked');
topicId = this.isTabMode() ? this.topicView.getCurrentTopicId() : this.topicId;
url = DiscussionUtil.urlFor('create_thread', topicId);