summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-08-11 13:55:46 -0700
committernickago <ngonella@calpoly.edu>2015-08-11 13:55:46 -0700
commitda4618013134e484f84ecd9e05e825e4a6d51f3d (patch)
tree99d49a05fe566b354d7da1d75a5f62d411c84352 /web/react/components
parentf61e093b53c8e18cd3365b8f0bb03ffadb6422ef (diff)
downloadchat-da4618013134e484f84ecd9e05e825e4a6d51f3d.tar.gz
chat-da4618013134e484f84ecd9e05e825e4a6d51f3d.tar.bz2
chat-da4618013134e484f84ecd9e05e825e4a6d51f3d.zip
Fixed camelCase typos
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/user_settings.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/user_settings.jsx b/web/react/components/user_settings.jsx
index ed4f3fd98..7bc842814 100644
--- a/web/react/components/user_settings.jsx
+++ b/web/react/components/user_settings.jsx
@@ -524,7 +524,7 @@ var SecurityTab = React.createClass({
$(this.getDOMNode()).find('.form-control').each(function() {
this.value = '';
});
- this.setState({current_password: '', new_password: '', confirm_password: '', server_error: null, password_error: null});
+ this.setState({currentPassword: '', newPassword: '', confirmPassword: '', serverError: null, passwordError: null});
if (!this.state.willReturn) {
this.props.updateTab('general');
@@ -540,7 +540,7 @@ var SecurityTab = React.createClass({
this.props.updateSection('');
},
getInitialState: function() {
- return { current_password: '', new_password: '', confirm_password: '', willReturn: false };
+ return {currentPassword: '', newPassword: '', confirmPassword: '', willReturn: false};
},
render: function() {
var serverError = this.state.serverError ? this.state.serverError : null;