Commit 9281a800 by Vik Paruchuri

Fix js that prevented single step OE problems (ie only self assessment) from working

parent aae3380a
...@@ -289,6 +289,9 @@ class @CombinedOpenEnded ...@@ -289,6 +289,9 @@ class @CombinedOpenEnded
if @child_type == "openended" if @child_type == "openended"
@submit_button.hide() @submit_button.hide()
@queueing() @queueing()
if @task_number==1 and @task_count==1
@grader_status = $('.grader-status')
@grader_status.html("<p>Response submitted for scoring.</p>")
else if @child_state == 'post_assessment' else if @child_state == 'post_assessment'
if @child_type=="openended" if @child_type=="openended"
@skip_button.show() @skip_button.show()
...@@ -311,6 +314,8 @@ class @CombinedOpenEnded ...@@ -311,6 +314,8 @@ class @CombinedOpenEnded
if @task_number<@task_count if @task_number<@task_count
@next_problem() @next_problem()
else else
if @task_number==1 and @task_count==1
@show_combined_rubric_current()
@show_results_current() @show_results_current()
@reset_button.show() @reset_button.show()
......
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