       failures: []
 
       processDrop: (items) ->
-        @singleFile = @isSingleFileDropped(items)
+        @multiple = !@isSingleFileDropped(items)
 
       isSingleFileDropped: (items)->
         items.length == 1 && items[0].webkitGetAsEntry().isFile

        $scope.progress = per

      @on "sending", (file, xhr, formData) ->
        formData.append "path", file.fullPath

      @on "drop", (evt) ->

        $scope.dragged_over = false
        $scope.state        = 'processing'

        if @multiple
          @uploadMultipleFiles()
        else
          @processQueue()


      ).call myDropzone
