From 9281a80089e902ab870a1d05174d9b56a03943ce Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Thu, 30 May 2013 17:34:03 -0400 Subject: [PATCH] Fix js that prevented single step OE problems (ie only self assessment) from working --- .../xmodule/xmodule/js/src/combinedopenended/display.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee b/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee index d4c2ff00ae32..5939fbcdd89c 100644 --- a/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee @@ -289,6 +289,9 @@ class @CombinedOpenEnded if @child_type == "openended" @submit_button.hide() @queueing() + if @task_number==1 and @task_count==1 + @grader_status = $('.grader-status') + @grader_status.html("

Response submitted for scoring.

") else if @child_state == 'post_assessment' if @child_type=="openended" @skip_button.show() @@ -311,6 +314,8 @@ class @CombinedOpenEnded if @task_number<@task_count @next_problem() else + if @task_number==1 and @task_count==1 + @show_combined_rubric_current() @show_results_current() @reset_button.show()