         height   : 25
 
 
-  createFormDataAndRequest : ->
-
+  createFormDataAndRequest : (event) ->
 
     @trailerPage.hide()
     @uploadingPage.show()



  successAnalyzeCSV: (result) ->
    console.log 'res ', result
    @loader.hide()
    @successPage.show()
    @selectAndUpload.hide()
    @gonderGitsin.show()
    @uploadingPage.setPartial '''
      Would you like to send an invitation to all people below
      except already invited members? </br></br>
      In your files, we have found…

    @buttonWrapper.addSubView @selectAndUpload = new kd.ButtonView
      cssClass: 'GenericButton select-upload'
      title: 'SELECT AND UPLOAD'
      callback: =>
        $('.uploadcsv').change (event) =>
          @createFormDataAndRequest event
        @errorUploading.updatePartial ''
        @input.click()

    @buttonWrapper.addSubView @cancelButton = new kd.ButtonView
      cssClass: 'GenericButton cancel'
      title: 'Cancel'
      callback: => @destroy()

    @buttonWrapper.addSubView @sendAllInvites = new kd.ButtonView
      cssClass: 'GenericButton select-upload hidden'
      title: 'SEND ALL INVITES'
      callback: =>
