       fileInfo = data.getLocalFileInfo()
       if fileInfo.lastUploadedChunk
         {lastUploadedChunk, totalChunks} = fileInfo
-        if lastUploadedChunk is totalChunks
-          data.removeLocalFileInfo()
-          @updateProgressView 100
-        else
-          @updateProgressView 100 * lastUploadedChunk / totalChunks
+        data.removeLocalFileInfo() if lastUploadedChunk is totalChunks
+        @showProgressView 100 * lastUploadedChunk / totalChunks
 
   mouseDown:-> yes
 

      @childView.setDomAttributes
        title : FSHelper.plainPath data.name

    @progress = new KDProgressBarView

    @on "ItemBeingDeleted", =>
      data.removeLocalFileInfo()


      @renameView.destroy()
      delete @renameView

    if @progressView
      @progressView.destroy()
      delete @progressView

    @childView.show()
    @beingDeleted = no
    @beingEdited = no
    @beingProgress = no
    @callback = null
    @unsetClass "being-deleted being-edited progress"
    @getDelegate().setKeyView()

  confirmDelete:(callback)->
