Commit 7b081148 by Vik Paruchuri

More restyling, fix buttons

parent 943c0ff8
......@@ -30,7 +30,7 @@ section.combined-open-ended {
{
float:left;
width: 53%;
padding-bottom: 20px;
padding-bottom: 50px;
}
.result-container
......@@ -78,8 +78,7 @@ div.result-container {
}
.feedback-on-feedback {
height: 150px;
width: 250px;
height: 100px;
margin-right: 0px;
}
......
......@@ -62,8 +62,10 @@ class @CombinedOpenEnded
$.postWithPrefix "#{@ajax_url}/get_results", data, (response) =>
if response.success
@results_container.after(response.html).remove()
@results_container = $('.result-container')
@Collapsible.setCollapsibles(@results_container)
@results_container = $('div.result-container')
@submit_evaluation_button = $('.submit-evaluation-button')
@submit_evaluation_button.click @message_post
Collapsible.setCollapsibles(@results_container)
else
@errors_area.html(response.error)
......
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