         # replace 'key' field to submit form
         unless 'FormData' of window
           $uploadForm.find("input[name='key']").val(settings.path + key)
-        console.log(data)
         data
 
     $uploadForm.on 'show_cancel_button', ->
-      console.log('show_cancel_button')
       $(selectors.submit).hide()
       $(selectors.cancel_upload).removeClass('hide')
 
 
     $uploadForm.on 'enable_all_field', ->
-      console.log('enable_all_field')
       $(selectors.s3_form).find(selectors.disable_fields).removeAttr('disabled')
 
     $uploadForm.on 'reset_s3_uploder', ->
-      console.log('reset_s3_uploder')
       $('.upload_uploading').hide()
       $('.upload_picking').show()
       $('.progress-bar').removeAttr('style')

        $.each $uploadForm.find(settings.disable_fields_after_submit), (index, item) =>
          $(item).removeAttr('disabled')

      console.log('ccccccccccccccccccccccccc')
      console.log(validation_form)
      if  validation_form
#        form.submit() for form in forms_for_submit
        $(forms_for_submit).submit()
        #$('#form_submit').click()

      if settings.allow_send_form_without_file && $uploadForm.find('#file_name_for_upload').text().length == 0
        console.log('444444444444444444444444444444444444444444')
        true
      else
        console.log('55555555555555555555555555555555555555')
        false

  setUploadForm = ->

            else
              forms_for_submit = [data]
          else
            data.submit()

      send: (e, data) =>
        $uploadForm.trigger('show_cancel_button')
        $(selectors.cancel_upload).on 'click', (e) =>
          data.xhr().abort()
