Cosmetic fixes on taskboard lightboxes directives file.
parent
6bc662a1b9
commit
cb3c979a04
|
@ -22,7 +22,7 @@
|
||||||
taiga = @.taiga
|
taiga = @.taiga
|
||||||
bindOnce = @.taiga.bindOnce
|
bindOnce = @.taiga.bindOnce
|
||||||
|
|
||||||
CreateEditTaskDirective = ($repo, $model, $rs, $rootScope) ->
|
CreateEditTaskDirective = ($repo, $model, $rs, $rootscope) ->
|
||||||
link = ($scope, $el, attrs) ->
|
link = ($scope, $el, attrs) ->
|
||||||
isNew = true
|
isNew = true
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootScope) ->
|
||||||
# FIXME: error handling?
|
# FIXME: error handling?
|
||||||
promise.then (data) ->
|
promise.then (data) ->
|
||||||
$el.addClass("hidden")
|
$el.addClass("hidden")
|
||||||
$rootScope.$broadcast(broadcastEvent, data)
|
$rootscope.$broadcast(broadcastEvent, data)
|
||||||
|
|
||||||
$el.on "click", "label.blocked", (event) ->
|
$el.on "click", "label.blocked", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
|
Loading…
Reference in New Issue