       if response.success
         @status_container.after(response.html).remove()
         @status_container= $(@status_container_sel)
-
-  get_last_response: () =>
-    data = {}
-    $.postWithPrefix "#{@ajax_url}/get_last_response", data, (response) =>
-      if response.success
-        console.log(response.response)
 
   message_post: (event)=>
     external_grader_message=$(event.target).parent().parent().parent()

    @hide_file_upload()
    @next_problem_button.hide()
    @hint_area.attr('disabled', false)
    if @task_number>1 or @child_state!='initial'
      @show_status_current()




  rebind: () =>
    @get_last_response()
    # rebind to the appropriate function for the current state
    @submit_button.unbind('click')
    @submit_button.show()
