diff --git a/src/components/navigation/navigation.jsx b/src/components/navigation/navigation.jsx index 6c3181357..c129ad9db 100644 --- a/src/components/navigation/navigation.jsx +++ b/src/components/navigation/navigation.jsx @@ -96,6 +96,10 @@ var Navigation = React.createClass({ closeRegistration: function () { this.setState({'registrationOpen': false}); }, + completeRegistration: function () { + window.refreshSession(); + this.closeRegistration(); + }, render: function () { var classes = classNames({ 'inner': true, @@ -151,7 +155,8 @@ var Navigation = React.createClass({ , + onRequestClose={this.closeRegistration} + onRegistrationDone={this.completeRegistration} />,