Commit 7b081148 by Vik Paruchuri

More restyling, fix buttons

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