From 96ad8cb1140f5295551154920aa215527056559d Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Mon, 10 Aug 2015 13:15:01 -0400
Subject: Changed file upload components to properly remove previews for failed
 uploads

---
 web/react/components/file_upload.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/components/file_upload.jsx')

diff --git a/web/react/components/file_upload.jsx b/web/react/components/file_upload.jsx
index 4b8965dcb..21e21a58a 100644
--- a/web/react/components/file_upload.jsx
+++ b/web/react/components/file_upload.jsx
@@ -60,7 +60,7 @@ module.exports = React.createClass({
                     this.setState({requests: requests});
                 }.bind(this),
                 function(err) {
-                    this.props.onUploadError(err);
+                    this.props.onUploadError(err, clientId);
                 }.bind(this)
             );
 
@@ -151,7 +151,7 @@ module.exports = React.createClass({
                                 self.setState({requests: requests});
                             },
                             function(err) {
-                                self.props.onUploadError(err);
+                                self.props.onUploadError(err, clientId);
                             }
                         );
 
-- 
cgit v1.2.3-1-g7c22

