               file.cancel()
               file.progressValue = null
               return
-        $scope.uploads.remove(file)
+        remove(file)
         return
 
       $scope.fileProgress = (file) ->

              body: constants.message('asset.upload.rejected', {sce:$sce.HTML}, file.relativePath)
              report: res
              owner: this
            $scope.uploads.remove(file)
            return
        return


          body: constants.message('asset.upload.error', file.relativePath, message || 'unknown error')
          owner: form
        file.cancel()
        remove(file)
        return

      form.questions =
        [
