Changed ordering of steps for upload to imporve asthetic
Этот коммит содержится в:
@@ -844,11 +844,13 @@ var GeneralTab = React.createClass({
|
|||||||
updatePicture: function(e) {
|
updatePicture: function(e) {
|
||||||
if (e.target.files && e.target.files[0]) {
|
if (e.target.files && e.target.files[0]) {
|
||||||
this.setState({ picture: e.target.files[0] });
|
this.setState({ picture: e.target.files[0] });
|
||||||
|
|
||||||
|
this.submitActive = true;
|
||||||
|
this.setState({client_error:null})
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.setState({ picture: null });
|
this.setState({ picture: null });
|
||||||
}
|
}
|
||||||
|
|
||||||
this.submitActive = true
|
|
||||||
},
|
},
|
||||||
updateSection: function(section) {
|
updateSection: function(section) {
|
||||||
this.setState({client_error:""})
|
this.setState({client_error:""})
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user