 
     reader.readAsDataURL file
 
-  fileReadComplete:(pubInst,event)->  
+  fileReadComplete:(pubInst,event)->
     file = event.file
     file.data = event.progressEvent.target.result
     @putFileInQueue file
-  
+
   putFileInQueue:(file)->
     if not @isDuplicate(file) and @checkLimits(file)
       @files[file.name] = file

    else
      super options,data
      @setPartial "<p class='warning info'><strong>Oops sorry,</strong> file upload is only working on Chrome, Firefox and Opera at the moment. We're working on a fix.</p>"
  
  addDropArea:()->
    @dropArea = new KDFileUploadArea
      title    : @getOptions().title
      cssClass : "kdfileuploadarea"
      delegate : @
    @addSubView @dropArea

      view : @fileList

    @addSubView @listController.getView()

  addFileList:()-> new KDFileUploadListView delegate : @
  addThumbnailList:()-> new KDFileUploadThumbListView delegate : @

