Prevent submission of the form in RB.JoinedGroupsView
Review Request #8335 — Created Aug. 18, 2016 and submitted
The
RB.JoinedGroupsViewautomatically updates based on the contents of
the input field in the form. Submission of this form will result in a
CSRF error, so we prevent submission altogether.
Manually verified the following:
- No longer able to submit the groups form.
- Still able to submit other preferences forms.
| Description | From | Last Updated |
|---|---|---|
|
This should have gone near the bottom, with the other private method. |
|
Tool: Pyflakes Ignored Files: reviewboard/static/rb/js/accountPrefsPage/views/joinedGroupsView.js Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/js/accountPrefsPage/views/joinedGroupsView.js