diff options
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/file_attachment.jsx | 3 | ||||
-rw-r--r-- | web/react/components/team_signup_password_page.jsx | 2 | ||||
-rw-r--r-- | web/react/components/user_profile.jsx | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index d07afbc2b..5d7855037 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -64,7 +64,8 @@ export default class FileAttachment extends React.Component { var url = path.replace(re1, '%20').replace(re2, '%28').replace(re3, '%29'); $(imgDiv).css('background-image', 'url(' + url + '_thumb.jpg)'); } - }; }(fileInfo.path, filename)); + }; + }(fileInfo.path, filename)); } } } diff --git a/web/react/components/team_signup_password_page.jsx b/web/react/components/team_signup_password_page.jsx index f36ec1119..4088c7cef 100644 --- a/web/react/components/team_signup_password_page.jsx +++ b/web/react/components/team_signup_password_page.jsx @@ -42,7 +42,7 @@ export default class TeamSignupPasswordPage extends React.Component { var props = this.props; Client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password, - function loginSuccess() { + function loginSuccess(data) { UserStore.setLastEmail(teamSignup.team.email); UserStore.setCurrentUser(data); if (this.props.hash > 0) { diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx index 0d10166f3..fbdcdca59 100644 --- a/web/react/components/user_profile.jsx +++ b/web/react/components/user_profile.jsx @@ -16,6 +16,7 @@ export default class UserProfile extends React.Component { super(props); this.uniqueId = nextId(); + this.onChange = this.onChange.bind(this); this.state = this.getStateFromStores(this.props.userId); } |