1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 23:44:27 +02:00

Show composer after discussion is reloaded following login

This commit is contained in:
Toby Zerner
2015-05-18 15:38:19 +09:30
parent 8cba7ad3f2
commit e879a65a0c
3 changed files with 17 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ export default function(app) {
} else if (!app.session.user()) {
app.modal.show(new LoginModal({
message: 'You must be logged in to do that.',
callback: this.replyAction.bind(this)
callback: () => app.current.one('loaded', this.replyAction.bind(this, goToLast, forceRefresh))
}));
}
}