Page MenuHomePhabricator

Remove nonfunctional AJAX embed behavior for Slowvote
ClosedPublic

Authored by epriestley on Nov 5 2018, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 11:09 PM
Unknown Object (File)
Tue, Apr 16, 10:25 PM
Unknown Object (File)
Sat, Apr 13, 8:30 PM
Unknown Object (File)
Sat, Apr 13, 8:09 PM
Unknown Object (File)
Thu, Apr 11, 8:14 AM
Unknown Object (File)
Fri, Apr 5, 6:22 PM
Unknown Object (File)
Fri, Mar 29, 3:20 PM
Unknown Object (File)
Thu, Mar 28, 5:00 AM
Subscribers
None

Details

Summary

See https://hackerone.com/reports/434116. Slowvote has a piece of Javascript that attempts to let you vote on {V123} polls inline.

It does not work: nothing ever triggers it (nothing renders a control with a slowvote-option sigil).

At least for now, just remove it. It has a completely separate pathway in the controller and both pathways are buggy, so this makes fixing them easier.

Test Plan

Voted in plurality and approval polls via Slowvote and the embedded widget.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable