         contentType: 'multipart/form-data'
       }
 
-    @uploadingPage.setPartial "
+    @errorUploading?.hide()
+
+    @uploadingPage.updatePartial "
       <div>
-        Selected Files: </br>
+       Selected File: </br>
         #{fileNames.join '</br>'}
       </div>
     "
 
     @makeReq '/-/teams/invite-by-csv-analyze', 'successAnalyzeCSV', 'errorAnalyzeCSV'
+
     @input.value = null
-
+    $('.uploadcsv').unbind 'change'
 
   makeReq: (url, success, error) ->
 



  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…

        height   : 25


  createFormDataAndRequest : (event) ->

    @trailerPage.hide()
    @uploadingPage.show()
