This commit is contained in:
Chris Blanchard 2015-07-31 11:51:38 +01:00
parent cb49b15eab
commit 3cb1e600ee
2 changed files with 2 additions and 4 deletions

View file

@ -16,7 +16,6 @@ var UserLogin = React.createClass({
if (!id) return;
React.findDOMNode(this.refs.authorize_id).value = '';
this.authorizeId(id);
return;
},
render: function () {
return (
@ -109,7 +108,7 @@ var CurrentUser = React.createClass({
user: data.currentUser
});
});
socket.emit("users:refresh", {});
socket.emit("users:refresh");
},
render: function () {
if (this.props.user) {

View file

@ -775,7 +775,6 @@ var UserLogin = React.createClass({displayName: "UserLogin",
if (!id) return;
React.findDOMNode(this.refs.authorize_id).value = '';
this.authorizeId(id);
return;
},
render: function () {
return (
@ -868,7 +867,7 @@ var CurrentUser = React.createClass({displayName: "CurrentUser",
user: data.currentUser
});
});
socket.emit("users:refresh", {});
socket.emit("users:refresh");
},
render: function () {
if (this.props.user) {