Skip to content

Commit

Permalink
Merge pull request #332 from sparc-request/jw_portal_inactive_study_bug
Browse files Browse the repository at this point in the history
bug squashed
  • Loading branch information
jleonardw9 committed Apr 5, 2016
2 parents d11d2b5 + e559aca commit 5c99086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/portal/studies.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ $(document).ready ->
$(sibling).hide_visual_error()

# If study is inactive, we want to force users to fill out new epic box questions
if $('#study_study_type_question_group_id').val() == "inactive" && $('input[name=\'study[selected_for_epic]\']:checked').val() == 'true'
if $('input[name=\'study[selected_for_epic]\']:checked').val() == 'true'
study_type_form.show()
certificate_of_confidence_dropdown.show_elt()

Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/studies.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $(document).ready ->
$(sibling).hide_visual_error()

# If study is inactive, we want to force users to fill out new epic box questions
if $('#study_study_type_question_group_id').val() == "inactive" && $('input[name=\'study[selected_for_epic]\']:checked').val() == 'true'
if $('input[name=\'study[selected_for_epic]\']:checked').val() == 'true'
study_type_form.show()
certificate_of_confidence_dropdown.show_elt()

Expand Down

0 comments on commit 5c99086

Please sign in to comment.