         $uploadForm.trigger("s3_uploads_complete", [content]) unless current_files.length
 
       fail: (e, data) ->
-        console.log('fail')
         content = build_content_object $uploadForm, data.files[0], data.result
         content.error_thrown = data.errorThrown
 

          return false

      start: (e) ->
        console.log('start')
        $($uploadForm).find(".upload_picking").hide()
        $($uploadForm).find(".upload_uploading").show().removeClass "hidden"
        $("#upload_cancel_link").addClass "hidden"

      progress: (e, data) ->
        console.log('progress')
        if data.context
          progress = parseInt(data.loaded / data.total * 100, 10)
          data.context.find('.bar').css('width', progress + '%')

      # Fallback; just use a placeholder
      $('#upload_thumbnail').show().attr('src', assetPath('media/mrx-placeholder-120x90.png'))

  if settings.click_submit_target
    settings.click_submit_target.click =>
      validation_form = true
      $.each $uploadForm.find(settings.disable_fields_after_submit), (index, item) =>
