Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-poll
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
xblock-poll
Commits
00e634e3
Commit
00e634e3
authored
Feb 17, 2015
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addressed nits from max_submissions task.
parent
2a4ff349
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
poll/public/js/poll.js
+1
-0
tests/integration/test_max_submissions.py
+1
-4
No files found.
poll/public/js/poll.js
View file @
00e634e3
...
...
@@ -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"
,
...
...
tests/integration/test_max_submissions.py
View file @
00e634e3
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment