Making sure that the data is downloaded before starting rendering the client
This commit is contained in:
parent
2f9a990663
commit
a97eba6d8b
@ -57,7 +57,8 @@
|
||||
Meteor.subscribe 'users', meetingId, userId, authToken, onError: onErrorFunction, onReady: =>
|
||||
Meteor.subscribe 'whiteboard-clean-status', meetingId, onReady: =>
|
||||
Meteor.subscribe 'bbb_poll', meetingId, userId, authToken, onReady: =>
|
||||
# done subscribing
|
||||
# done subscribing, start rendering the client and set default settings
|
||||
@render('main')
|
||||
onLoadComplete()
|
||||
|
||||
handleLogourUrlError = () ->
|
||||
@ -81,7 +82,7 @@
|
||||
a.fail (data, textStatus, errorThrown) ->
|
||||
handleLogourUrlError()
|
||||
|
||||
@render('main')
|
||||
@render('loading')
|
||||
|
||||
|
||||
# endpoint - is the html5client running (ready to handle a user)
|
||||
|
Loading…
Reference in New Issue
Block a user