remove deprecated class when the an attachment is not deprecated
parent
c3e17c0a0e
commit
60ce19b7e2
|
@ -277,6 +277,8 @@ AttachmentDirective = ($template, $compile, $translate) ->
|
|||
if attachment.is_deprecated
|
||||
$el.addClass("deprecated")
|
||||
$el.find("input:checkbox").prop('checked', true)
|
||||
else
|
||||
$el.removeClass("deprecated")
|
||||
|
||||
saveAttachment = ->
|
||||
attachment.description = $el.find("input[name='description']").val()
|
||||
|
|
Loading…
Reference in New Issue