       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
 

    @isLoading        = no
    @beingDeleted     = no
    @beingEdited      = no

    childConstructor = switch data.type
      when "vm"         then NVMItemView

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

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

