Move lightboxes toplevel module to common module.
parent
4e78f25ce1
commit
3f18a677f4
|
@ -126,7 +126,6 @@ modules = [
|
|||
"taigaSearch",
|
||||
"taigaAdmin",
|
||||
"taigaNavMenu",
|
||||
"taigaLightboxes",
|
||||
|
||||
# Vendor modules
|
||||
"ngRoute",
|
||||
|
|
|
@ -19,13 +19,10 @@
|
|||
# File: modules/lightboxes.coffee
|
||||
###
|
||||
|
||||
|
||||
# FIXME: this module should not be as the toplevel module.
|
||||
# It should be moved and to be part of taigaCommons module.
|
||||
module = angular.module("taigaLightboxes", [])
|
||||
module = angular.module("taigaCommon")
|
||||
|
||||
|
||||
BlockDirective = () ->
|
||||
BlockDirective = ->
|
||||
link = ($scope, $el, $attrs, $model) ->
|
||||
title = $attrs.title
|
||||
$el.find("h2.title").text(title)
|
Loading…
Reference in New Issue