From 3ebac0167bf20104fb7a2a55934765117760264c Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 18 Aug 2014 03:53:18 -0400 Subject: [PATCH] Only add zen-mode text labels in compose step --- 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 d82725c..e59ac72 100644 --- a/plugins/acl/acl.js +++ b/plugins/acl/acl.js @@ -24,11 +24,7 @@ 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(/[ ,;]+$/, ''); }); } } -- Gitblit v1.9.1