Merge branch 'develop' of github.com:martini/zammad into develop

This commit is contained in:
Martin Edenhofer 2015-11-12 15:21:59 +01:00
commit c71e052548

View file

@ -303,7 +303,7 @@ do($ = window.jQuery, window) ->
# delay initial queue position, show connecting first # delay initial queue position, show connecting first
show = => show = =>
@onQueue data.position @onQueue data
if @initialQueueDelay && !@onInitialQueueDelayId if @initialQueueDelay && !@onInitialQueueDelayId
@onInitialQueueDelayId = setTimeout(show, @initialQueueDelay) @onInitialQueueDelayId = setTimeout(show, @initialQueueDelay)
return return
@ -315,8 +315,8 @@ do($ = window.jQuery, window) ->
# show queue position # show queue position
show() show()
onQueue: (position) => onQueue: (data) =>
@log 'notice', 'onQueue', position @log 'notice', 'onQueue', data.position
@inQueue = true @inQueue = true
@setSessionId data.session_id @setSessionId data.session_id