From 8b002ac6853680fa391210aa84100983f24cc08a Mon Sep 17 00:00:00 2001 From: Juanfran Date: Wed, 17 Jun 2015 13:19:47 +0200 Subject: [PATCH] fix arrows after filter in watchers or assignedTo --- app/coffee/modules/common/lightboxes.coffee | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/coffee/modules/common/lightboxes.coffee b/app/coffee/modules/common/lightboxes.coffee index 7f3f7957..c48c7300 100644 --- a/app/coffee/modules/common/lightboxes.coffee +++ b/app/coffee/modules/common/lightboxes.coffee @@ -473,7 +473,6 @@ AssignedToLightboxDirective = (lightboxService, lightboxKeyboardNavigationServic html = $compile(html)($scope) $el.find("div.watchers").html(html) - lightboxKeyboardNavigationService.init($el) closeLightbox = () -> lightboxKeyboardNavigationService.stop() @@ -487,7 +486,7 @@ AssignedToLightboxDirective = (lightboxService, lightboxKeyboardNavigationServic render(selectedUser) lightboxService.open($el).then -> $el.find('input').focus() - + lightboxKeyboardNavigationService.init($el) $scope.$watch "usersSearch", (searchingText) -> if searchingText? @@ -568,7 +567,6 @@ WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationS html = usersTemplate(ctx) $el.find("div.watchers").html(html) - lightboxKeyboardNavigationService.init($el) closeLightbox = () -> lightboxKeyboardNavigationService.stop() @@ -582,7 +580,7 @@ WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationS lightboxService.open($el).then -> $el.find("input").focus() - lightboxKeyboardNavigationService.init($el) + lightboxKeyboardNavigationService.init($el) $scope.$watch "usersSearch", (searchingText) -> if not searchingText?