* VRFS-3361 - make sure we leave the session in all cases that you leave the session screen
This commit is contained in:
parent
a4b3ff4b03
commit
e143dc4e1f
|
|
@ -58,7 +58,8 @@ SessionActions = @SessionActions
|
|||
leaveSessionWarningDialog = new context.JK.LeaveSessionWarningDialog(context.JK.app,
|
||||
() =>
|
||||
@allowLeave = true
|
||||
context.location.hash = data.hash
|
||||
SessionActions.leaveSession(hash: data.hash)
|
||||
#context.location.hash = data.hash
|
||||
)
|
||||
|
||||
leaveSessionWarningDialog.initialize()
|
||||
|
|
|
|||
|
|
@ -958,6 +958,8 @@ NotificationActions = @NotificationActions
|
|||
window.history.go(behavior.location)
|
||||
else
|
||||
window.location = behavior.location
|
||||
else if behavior.hash
|
||||
window.location.hash = behavior.hash
|
||||
else
|
||||
logger.warn("no location specified in leaveSession action", behavior)
|
||||
window.location = '/client#/home'
|
||||
|
|
|
|||
Loading…
Reference in New Issue