(js) Fix bug when editing a saved draft

pull/105/head
Francis Lachapelle 2015-09-03 14:09:13 -04:00
parent 3b0ead7bbd
commit 669bd99a2d
1 changed files with 1 additions and 1 deletions

View File

@ -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();