From b2a8a2c12ceee2bd4f1ee6c72cc941bf54b68908 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 12 Apr 2017 16:01:26 +0200 Subject: [PATCH] * Mail: Fix contextmenu does not popup for brocken folder tree --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index 1a7e3b2c32..b4c34d08c4 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -1585,7 +1585,7 @@ app.classes.mail = AppJS.extend( var inbox = _senders[0].id.split('::')[0]+'::INBOX'; var node = ftree ? ftree.getNode(inbox) : null; - return node && node.data.acl && this.mail_CheckFolderNoSelect(_action,_senders,_currentNode); + return node && node.data && node.data.acl && this.mail_CheckFolderNoSelect(_action,_senders,_currentNode); }, /**