mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 22:38:09 -05:00
Fix error check for subreddit VOneOf parameters.
This commit is contained in:
committed by
Neil Williams
parent
8b586bc8b0
commit
fb79a8cbe5
@@ -1303,7 +1303,7 @@ class ApiController(RedditController):
|
||||
form.find('#example_title').hide()
|
||||
elif form.has_errors('domain', errors.BAD_CNAME, errors.USED_CNAME):
|
||||
form.find('#example_domain').hide()
|
||||
elif (form.has_errors(None, errors.INVALID_OPTION) or
|
||||
elif (form.has_errors(('type', 'link_type'), errors.INVALID_OPTION) or
|
||||
form.has_errors('description', errors.TOO_LONG)):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user