From 669bd99a2dfe8cc91994f2ef44dd270ca1edea78 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 3 Sep 2015 14:09:13 -0400 Subject: [PATCH] (js) Fix bug when editing a saved draft --- UI/WebServerResources/js/Mailer/Message.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/WebServerResources/js/Mailer/Message.service.js b/UI/WebServerResources/js/Mailer/Message.service.js index 331788725..82e0598a5 100644 --- a/UI/WebServerResources/js/Mailer/Message.service.js +++ b/UI/WebServerResources/js/Mailer/Message.service.js @@ -96,7 +96,7 @@ * @returns a string representing the path relative to the mail module */ Message.prototype.$absolutePath = function(options) { - if (angular.isUndefined(this.id)) { + if (angular.isUndefined(this.id) || options) { var path; path = _.map(this.$mailbox.path.split('/'), function(component) { return 'folder' + component.asCSSIdentifier();