Commit 00e634e3 by Jonathan Piacenti

Addressed nits from max_submissions task.

parent 2a4ff349
......@@ -31,6 +31,7 @@ function PollUtil (runtime, element, pollType) {
var choice = radio.val();
var thanks = $('.poll-voting-thanks', element);
thanks.addClass('poll-hidden');
// JQuery's fade functions set element-level styles. Clear these.
thanks.removeAttr('style');
$.ajax({
type: "POST",
......
......@@ -50,12 +50,9 @@ class TestPrivateResults(PollBaseTest):
for __ in range(0, 2):
self.go_to_page(page)
for ___ in range(1, 5):
self.submission_run(names)
self.do_submit(names)
self.assertTrue(self.get_submit().is_enabled())
def submission_run(self, names):
self.do_submit(names)
@unpack
@data(*scenarios_max)
def test_max_submissions_one_view(self, page, names):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment