diff --git a/mail/js/app.js b/mail/js/app.js index a7a7e34836..74c3753646 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -3524,13 +3524,25 @@ app.classes.mail = AppJS.extend( acl_common_rights_selector: function(event,widget) { var rowId = widget.id.replace(/[^0-9.]+/g, ''); - var rights = (widget.get_value() == "custom"?[]:widget.get_value() == "aeiklprstwx")? - widget.get_value().replace(/[k,x,t,e]/g,"cd").split(""):widget.get_value().split(""); - - for (var i=0;i 0) + { + for (var i=0;i