fix #2024 - fix watchers
parent
3c0269cc7f
commit
05d4d230f2
|
@ -518,9 +518,10 @@ module.directive("tgLbAssignedto", ["lightboxService", "lightboxKeyboardNavigati
|
||||||
## Watchers Lightbox directive
|
## Watchers Lightbox directive
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationService) ->
|
WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationService, $template) ->
|
||||||
link = ($scope, $el, $attrs) ->
|
link = ($scope, $el, $attrs) ->
|
||||||
selectedItem = null
|
selectedItem = null
|
||||||
|
usersTemplate = $template.get("common/lightbox/lightbox-assigned-to-users.html", true)
|
||||||
|
|
||||||
# Get prefiltered users by text
|
# Get prefiltered users by text
|
||||||
# and without now watched users.
|
# and without now watched users.
|
||||||
|
@ -595,7 +596,7 @@ WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationS
|
||||||
link:link
|
link:link
|
||||||
}
|
}
|
||||||
|
|
||||||
module.directive("tgLbWatchers", ["$tgRepo", "lightboxService", "lightboxKeyboardNavigationService", WatchersLightboxDirective])
|
module.directive("tgLbWatchers", ["$tgRepo", "lightboxService", "lightboxKeyboardNavigationService", "$tgTemplate", WatchersLightboxDirective])
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
## Notion Lightbox Directive
|
## Notion Lightbox Directive
|
||||||
|
|
Loading…
Reference in New Issue