Commit ee2990da by Vik Paruchuri

Change hidden div to input name

parent e4568c3a
......@@ -40,7 +40,6 @@ section.combined-open-ended {
width: 93%;
position:relative;
}
}
section.combined-open-ended-status {
......
......@@ -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)
......
......@@ -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
......
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