Merge branch 'develop' of github.com:martini/zammad into develop
This commit is contained in:
commit
c71e052548
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue