         div.append(hidden_input)
         appendLinkDocumentRemoveLink(div)
         new_el.append(div)
-        console.log(hidden_input)
 
       if needs_description
         desc_div = $("<div>")

      # TODO

    upload_started = (e, data) ->
      console.log "STARTED"
      # Show `Uploading...`
      button.addClass("visuallyhidden")
      dropzone.addClass("visuallyhidden")

      updateUploadListVisiblity(list, button, max)
      reindexUploadListInputs(list)

    updateUploadListVisiblity(list, button, max)

    if is_link
      $el.click (e) ->
        e.preventDefault()
        if !$(this).hasClass("read-only")
          upload_done(null, null, true)
        false
    else
