From 855f3d3630576e0fe65751ef71a82eb0a1200f5e Mon Sep 17 00:00:00 2001 From: nickago Date: Wed, 1 Jul 2015 17:04:10 -0700 Subject: Changed ordering of steps for upload to imporve asthetic --- web/react/components/user_settings.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/react/components/user_settings.jsx b/web/react/components/user_settings.jsx index 2e563ff45..add57f147 100644 --- a/web/react/components/user_settings.jsx +++ b/web/react/components/user_settings.jsx @@ -844,11 +844,13 @@ var GeneralTab = React.createClass({ updatePicture: function(e) { if (e.target.files && e.target.files[0]) { this.setState({ picture: e.target.files[0] }); + + this.submitActive = true; + this.setState({client_error:null}) + } else { this.setState({ picture: null }); } - - this.submitActive = true }, updateSection: function(section) { this.setState({client_error:""}) -- cgit v1.2.3-1-g7c22