From e6704591225b4a5a70ee4bfdddea6a20f21c3021 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 14 Feb 2014 09:24:52 +0000 Subject: [PATCH] Fix mail ACL rights selector --- mail/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/js/app.js b/mail/js/app.js index f089ae38e4..14a8483060 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -2579,10 +2579,10 @@ app.classes.mail = AppJS.extend( acl_common_rights_selector: function(event,widget) { var rowId = widget.id.replace(/[^0-9.]+/g, ''); - var rights = (widget.value == "custom")?[]:(widget.value == "akxeilprwts")? widget.value.replace(/[k,x,t,e]/g,"cd").split(""):widget.value.split(""); + var rights = (widget.get_value() == "custom")?[]:(widget.get_value() == "akxeilprwts")? widget.get_value().replace(/[k,x,t,e]/g,"cd").split(""):widget.get_value().split(""); for (var i=0;i