diff options
Diffstat (limited to 'plugins/acl/acl.js')
-rw-r--r-- | plugins/acl/acl.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js index d82725c8b..e59ac72a2 100644 --- a/plugins/acl/acl.js +++ b/plugins/acl/acl.js @@ -24,11 +24,7 @@ if (window.rcmail) { if (e.field.id != 'acluser') return; - var value = e.insert; - // get UID from the entry value - if (value.match(/\s*\(([^)]+)\)[, ]*$/)) - value = RegExp.$1; - e.field.value = value; + e.field.value = e.insert.replace(/[ ,;]+$/, ''); }); } } |