Commit 5d6509dc by Vik Paruchuri

add in js variables for element wrappers

parent 418c45f4
...@@ -7,6 +7,7 @@ class @CombinedOpenEnded ...@@ -7,6 +7,7 @@ class @CombinedOpenEnded
@allow_reset = @el.data('allow_reset') @allow_reset = @el.data('allow_reset')
@reset_button = @$('.reset-button') @reset_button = @$('.reset-button')
@reset_button.click @reset @reset_button.click @reset
@combined_open_ended= @$('.combined-open-ended')
# valid states: 'initial', 'assessing', 'request_hint', 'done' # valid states: 'initial', 'assessing', 'request_hint', 'done'
# Where to put the rubric once we load it # Where to put the rubric once we load it
...@@ -20,6 +21,8 @@ class @CombinedOpenEnded ...@@ -20,6 +21,8 @@ class @CombinedOpenEnded
@submit_button = @$('.submit-button') @submit_button = @$('.submit-button')
@child_state = @el.data('state') @child_state = @el.data('state')
@open_ended_child= @$('.open-ended-child')
@find_assessment_elements() @find_assessment_elements()
@find_hint_elements() @find_hint_elements()
......
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