Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
ee2990da
Commit
ee2990da
authored
Jan 09, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change hidden div to input name
parent
e4568c3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
+0
-1
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+2
-2
common/lib/xmodule/xmodule/open_ended_module.py
+2
-2
No files found.
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
View file @
ee2990da
...
...
@@ -40,7 +40,6 @@ section.combined-open-ended {
width
:
93%
;
position
:relative
;
}
}
section
.combined-open-ended-status
{
...
...
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
ee2990da
...
...
@@ -76,8 +76,8 @@ class @CombinedOpenEnded
fd
=
new
FormData
()
feedback
=
evaluation_scoring
.
find
(
'textarea.feedback-on-feedback'
)[
0
].
value
submission_id
=
external_grader_message
.
find
(
'
div
.submission_id'
)[
0
].
innerHTML
grader_id
=
external_grader_message
.
find
(
'
div
.grader_id'
)[
0
].
innerHTML
submission_id
=
external_grader_message
.
find
(
'
input
.submission_id'
)[
0
].
innerHTML
grader_id
=
external_grader_message
.
find
(
'
input
.grader_id'
)[
0
].
innerHTML
score
=
evaluation_scoring
.
find
(
"input:radio[name='evaluation-score']:checked"
).
val
()
fd
.
append
(
'feedback'
,
feedback
)
...
...
common/lib/xmodule/xmodule/open_ended_module.py
View file @
ee2990da
...
...
@@ -332,9 +332,9 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
def
format_feedback_hidden
(
feedback_type
,
value
):
feedback_type
,
value
=
encode_values
(
feedback_type
,
value
)
feedback
=
"""
<
div class="{feedback_type}" style="display: none;
">
<
input class="{feedback_type}" style="display: none;" type="hidden
">
{value}
</
div
>
</
input
>
"""
.
format
(
feedback_type
=
feedback_type
,
value
=
value
)
return
feedback
...
...
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