 
   # Attach change event handler to everything but radio button inputs. Radio button inputs are changed by JS, so each time
   # the :checked property is changed, handleChangedValue has to be called.
-  $(".survey-container input").change (event) ->
+  $(".survey-container input").not(":radio").change (event) ->
+    console.log "non radio clicked"
     target = event.target or event.srcElement
     handleChangedValue($(target))
 

        assignQuestion(true,false)
      else
        assignQuestionDirect($(this).closest('.survey-container'))
    event.stopPropagation()
    if window.event
      handleChangedValue($(this))
    return false

  $('.survey-container input:text').click (event) ->
    if $(this).data('secondary')

    else
      assignQuestionDirect($(this).closest('.survey-container'))
    event.stopPropagation()
    return

  $("[data-object~='checkbox-label']").click (event) ->
    event.preventDefault()
    checkbox = $(this).siblings('input:checkbox')
    $(checkbox).prop "checked", !$(checkbox).prop("checked")
    e.stopPropagation()
    return


  # Respond to user clicking different questions
