(js) Fix bug when editing a saved draft
parent
3b0ead7bbd
commit
669bd99a2d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue