Maintenance: Stabilize 'stay on tab' test.

This commit is contained in:
Martin Gruner 2022-03-04 11:55:31 +01:00
parent 940e22db6d
commit 6937b4667f

View file

@ -188,6 +188,7 @@ class App.TicketZoomAttributeBar extends App.Controller
setUserPreferencesSecondaryAction: (type) ->
session = App.Session.get()
return if session.preferences.secondaryAction is type
session.preferences.secondaryAction = type
@ajax(
id: 'setUserPreferencesSecondaryAction'