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
75d6d7b9
Commit
75d6d7b9
authored
Nov 03, 2014
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Semantic correction to answer adding button id name.
parent
108358bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
poll/public/html/poll_edit.html
+1
-1
poll/public/js/poll_edit.js
+1
-1
No files found.
poll/public/html/poll_edit.html
View file @
75d6d7b9
...
...
@@ -21,7 +21,7 @@
</ul>
<div
class=
"xblock-actions"
>
<ul>
<li
class=
"action-item"
id=
"poll-add-
question
"
>
<li
class=
"action-item"
id=
"poll-add-
answer
"
>
<a
href=
"#"
class=
"button action-button"
onclick=
"return false;"
>
Add Question
</a>
</li>
<li
class=
"action-item"
>
...
...
poll/public/js/poll_edit.js
View file @
75d6d7b9
...
...
@@ -26,7 +26,7 @@ function PollEditBlock(runtime, element) {
empowerDeletes
();
}
$
(
'#poll-add-
question
'
,
element
).
click
(
function
()
{
$
(
'#poll-add-
answer
'
,
element
).
click
(
function
()
{
pollLineItems
.
append
(
answerTemplate
({
'answers'
:
[{
'key'
:
generateUUID
(),
'text'
:
''
}]}));
empowerDeletes
();
pollLineItems
.
last
().
scrollTop
();
...
...
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