Refreshing attachments reorder in activity

stable
Alejandro Alonso 2015-01-28 08:32:45 +01:00
parent 02c4466c45
commit c1d4ad62e8
1 changed files with 2 additions and 1 deletions

View File

@ -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")