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

This commit is contained in:
Felix Niklas 2016-03-22 08:33:49 +01:00
commit b0c14b81d5

View file

@ -58,7 +58,6 @@ class App.OnlineNotificationWidget extends App.Controller
) )
$(window).on 'click.notifications', @hide $(window).on 'click.notifications', @hide
$(window).on 'keydown.notifications', @listNavigate
@updateContent() @updateContent()
@ -207,11 +206,13 @@ class App.OnlineNotificationWidget extends App.Controller
@show() @show()
show: => show: =>
$(window).on 'keydown.notifications', @listNavigate
@shown = true @shown = true
@el.show() @el.show()
@updateHeight() @updateHeight()
hide: => hide: =>
$(window).off 'keydown.notifications'
@shown = false @shown = false
@el.hide() @el.hide()