Fix refresh of drafts folder when saving a draft

This commit is contained in:
Francis Lachapelle
2019-01-21 16:24:07 -05:00
parent ca9f83ec1f
commit 9a8415c095
7 changed files with 25 additions and 10 deletions
@@ -128,7 +128,7 @@
// },
onSuccessItem: function(item, response, status, headers) {
vm.message.$setUID(response.uid);
vm.message.$reload({asDraft: false});
vm.message.$reload();
item.inlineUrl = response.lastAttachmentAttrs[0].url;
//console.debug(item); console.debug('success = ' + JSON.stringify(response, undefined, 2));
},