Skip to content

Commit

Permalink
Merge pull request #2 from edx/fix/vik/single-step-oe
Browse files Browse the repository at this point in the history
Fix js that prevented single step OE problems (ie only self assessment) ...
  • Loading branch information
VikParuchuri committed May 31, 2013
2 parents cd82bd0 + 9281a80 commit 4a99784
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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("<p>Response submitted for scoring.</p>")
else if @child_state == 'post_assessment'
if @child_type=="openended"
@skip_button.show()
Expand All @@ -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()

Expand Down

0 comments on commit 4a99784

Please sign in to comment.