$(document).ready(function() {
  $(document).on('change', '.question-answered-box', function(){
    the_id = $(this).data('the-id')
    text_answer_field = $(this).closest('.text-answer').find('.text-answer-field')
    matrix_answer_field = $(this).closest('.answer_fields_wrapper').find('.submission-matrix')
    if($(this).prop('checked')) {
      $(text_answer_field).attr("readonly", true)
      $(text_answer_field).addClass("disabled")
      $("input[name='answers["+the_id+"]']:radio").attr("disabled", true)
      $("input[name='answers["+the_id+"]']:checkbox").attr("disabled", true)
      $("li.answer-option-"+the_id+" textarea").attr("disabled", true)
      $("select#answers_"+the_id).attr("disabled", true)
      $(matrix_answer_field).find('select').attr("disabled", true)
      $(matrix_answer_field).find('input').attr("disabled", true)
    }
    else {
      $(text_answer_field).attr("disabled", false)
      $(text_answer_field).attr("readonly", false)
      $(text_answer_field).removeClass("disabled")
      $("input[name='answers["+the_id+"]']:radio").attr("disabled", false)
      $("input[name='answers["+the_id+"]']:checkbox").attr("disabled", false)
      $("li.answer-option-"+the_id+" textarea").attr("disabled", false)
      $("select#answers_"+the_id).attr("disabled", false)
      $(matrix_answer_field).find('select').attr("disabled", false)
      $(matrix_answer_field).find('input').attr("disabled", false)
      $('.sticky_save_all').click();
    }
  });
});

$(document).ready(function() {
  $(document).on('change', '.question-answered-box', function(){
    the_id = $(this).data('the-id')
    text_answer_field = $(this).closest('.text-answer').find('.text-answer-field')
    matrix_answer_field = $(this).closest('.answer_fields_wrapper').find('.submission-matrix')
    if($(this).prop('checked')) {
      $(text_answer_field).attr("readonly", true)
      $(text_answer_field).addClass("disabled")
      $("input[name='answers["+the_id+"]']:radio").attr("disabled", true)
      $("li.answer-option-"+the_id+" textarea").attr("disabled", true)
      $("li.answer-option-"+the_id+" input[type='checkbox']").attr("disabled", true)
      $("select#answers_"+the_id).attr("disabled", true)
      $(matrix_answer_field).find('select').attr("disabled", true)
      $(matrix_answer_field).find('input').attr("disabled", true)
    }
    else {
      $(text_answer_field).attr("disabled", false)
      $(text_answer_field).attr("readonly", false)
      $(text_answer_field).removeClass("disabled")
      $("input[name='answers["+the_id+"]']:radio").attr("disabled", false)
      $("li.answer-option-"+the_id+" textarea").attr("disabled", false)
      $("li.answer-option-"+the_id+" input[type='checkbox']").attr("disabled", false)
      $("select#answers_"+the_id).attr("disabled", false)
      $(matrix_answer_field).find('select').attr("disabled", false)
      $(matrix_answer_field).find('input').attr("disabled", false)
      $('.sticky_save_all').click();
    }
  });
});

Fix checkbox disable again