Commit c047050e by Giulio Gratta

move Fetched New Essay alert message to above content and move user to top

parent 4fb8697d
...@@ -344,7 +344,7 @@ class @PeerGradingProblem ...@@ -344,7 +344,7 @@ class @PeerGradingProblem
if response.success if response.success
@is_calibrated_check() @is_calibrated_check()
@grading_message.fadeIn() @grading_message.fadeIn()
@grading_message.html("<p>Successfully saved your feedback. Fetched the next essay.</p>") @grading_message.html("<p>Successfully saved your feedback. Fetched the next essay.</p>").focus()
else else
if response.error if response.error
@render_error(response.error) @render_error(response.error)
...@@ -516,7 +516,7 @@ class @PeerGradingProblem ...@@ -516,7 +516,7 @@ class @PeerGradingProblem
gentle_alert: (msg) => gentle_alert: (msg) =>
@grading_message.fadeIn() @grading_message.fadeIn()
@grading_message.html("<p>" + msg + "</p>") @grading_message.html("<p>" + msg + "</p>").focus()
collapse_question: () => collapse_question: () =>
@prompt_container.slideToggle() @prompt_container.slideToggle()
......
...@@ -27,6 +27,9 @@ ...@@ -27,6 +27,9 @@
<section class="grading-wrapper"> <section class="grading-wrapper">
<h2>Student Response</h2> <h2>Student Response</h2>
<div class="grading-message">
</div>
<div class="grading-container"> <div class="grading-container">
<div class="submission-wrapper"> <div class="submission-wrapper">
<h3></h3> <h3></h3>
...@@ -53,8 +56,6 @@ ...@@ -53,8 +56,6 @@
</div> </div>
</div> </div>
<div class="grading-message">
</div>
</section> </section>
</section> </section>
......
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