* Mail: Fix contextmenu does not popup for brocken folder tree

This commit is contained in:
Hadi Nategh 2017-04-12 16:01:26 +02:00
parent 17a735634c
commit ca52de5c36

View File

@ -1492,7 +1492,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);
},
/**