* wip
This commit is contained in:
parent
6344e14f7d
commit
7a7d7c0829
|
|
@ -8,6 +8,13 @@ rest = context.JK.Rest()
|
|||
|
||||
mixins: [Reflux.listenTo(@AppStore, "onAppInit"), Reflux.listenTo(@UserStore, "onUserChanged")]
|
||||
|
||||
onAppInit: (@app) ->
|
||||
@app.bindScreen('/teacher/profile', {beforeShow: @beforeShow, afterShow: @afterShow})
|
||||
|
||||
beforeShow: () ->
|
||||
rest.getUserDetail(id)
|
||||
afterShow: () ->
|
||||
|
||||
getInitialState: () ->
|
||||
{user: null}
|
||||
|
||||
|
|
@ -17,6 +24,6 @@ rest = context.JK.Rest()
|
|||
|
||||
render: () ->
|
||||
`<div className="content-body-scroller">
|
||||
|
||||
|
||||
</div>`
|
||||
})
|
||||
|
|
@ -363,6 +363,8 @@
|
|||
|
||||
var signinDialog = new JK.SigninDialog(JK.app);
|
||||
signinDialog.initialize();
|
||||
|
||||
|
||||
JK.SigninPage(); // initialize signin helper
|
||||
|
||||
// do a client update early check upon initialization
|
||||
|
|
|
|||
Loading…
Reference in New Issue