Fixing delete button for issues, tasks and user stories
parent
60c71ac331
commit
bcfaba4cff
|
@ -412,7 +412,7 @@ DeleteButtonDirective = ($log, $repo, $confirm, $location, $template) ->
|
|||
if not $attrs.onDeleteTitle
|
||||
return $log.error "DeleteButtonDirective requires on-delete-title set in scope."
|
||||
|
||||
$el.on "click", ".button", (event) ->
|
||||
$el.on "click", ".button-delete", (event) ->
|
||||
title = $attrs.onDeleteTitle
|
||||
subtitle = $model.$modelValue.subject
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@ span(translate="COMMON.STATUS.CLOSED")
|
|||
<% } else { %>
|
||||
span(translate="COMMON.STATUS.OPEN")
|
||||
<% } %>
|
||||
span(style!="color:<%- status.color %>")
|
||||
span(class="detail-status", style!="color:<%- status.color %>")
|
||||
| <%- status.name %>
|
||||
|
|
Loading…
Reference in New Issue