fix task lightbox
parent
c24cbeb7dc
commit
959b49cefe
|
@ -37,10 +37,10 @@ class LightboxService extends taiga.Service
|
|||
|
||||
if code == 27
|
||||
@close(lightbox)
|
||||
$(document).off('lightbox')
|
||||
|
||||
|
||||
close: (lightbox) ->
|
||||
$(document).off('.lightbox')
|
||||
lightbox
|
||||
.one "transitionend", () ->
|
||||
lightbox.css('display', 'none')
|
||||
|
|
|
@ -104,10 +104,6 @@ CreateBulkTasksDirective = ($repo, $rs, $rootscope, lightboxService) ->
|
|||
lightboxService.open($el)
|
||||
$scope.form = {data: "", sprintId: sprintId, usId: usId}
|
||||
|
||||
$el.on "click", ".close", (event) ->
|
||||
event.preventDefault()
|
||||
lightboxService.close($el)
|
||||
|
||||
$el.on "click", ".button-green", (event) ->
|
||||
event.preventDefault()
|
||||
|
||||
|
|
Loading…
Reference in New Issue