Refreshing attachments reorder in activity
parent
02c4466c45
commit
c1d4ad62e8
|
@ -182,7 +182,8 @@ AttachmentsDirective = ($config, $confirm, $templates) ->
|
|||
newIndex = ui.item.index()
|
||||
|
||||
$ctrl.reorderAttachment(attachment, newIndex)
|
||||
$ctrl.saveAttachments()
|
||||
$ctrl.saveAttachments().then ->
|
||||
$scope.$emit("attachment:edit")
|
||||
|
||||
showSizeInfo = ->
|
||||
$el.find(".size-info").removeClass("hidden")
|
||||
|
|
Loading…
Reference in New Issue