         mediator.trigger "files:start"
 
       done: (e, data) =>
+        @currentCount = 0
+
         # Parse XML response and get image URL
         xmlDoc   = $.parseXML(data.jqXHR.responseText)
         location = $(xmlDoc).find("Location").text()

    model = new Backbone.Model
      id: 'bookmarklet_updates_message'
      title: "File limit"
      body: "Sorry, you cannot upload more than #{@dropLimit} files at once."
      type: 'Error'

    new MessageView


module.exports = class ChannelFileDropView extends Backbone.View
  maxFileSize: 50000000 # 50MB
  dropLimit: 15
  currentCount: 0

  events:
