   $.fn.remote_link = (callback) ->
     @
       .on 'ajax:beforeSend', (event, xhr, settings) ->
-        console.log "remote_link.beforeSend"
         $(@).addClass('waiting')
         xhr.setRequestHeader('X-PJAX', 'true')
       .on 'ajax:error', (event, xhr, status) ->


    send: () =>
      formData = new FormData @_form.get(0)
      console.log "formdata!", formData
      @xhr = new XMLHttpRequest()
      @xhr.onreadystatechange = @update
      @xhr.upload.onprogress = @progress

      @confirmation.val() is @field.val()

    stumbit: (e) =>
      if @blocked
        e.preventDefault()

