summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-24 08:55:25 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-24 08:55:25 +0000
commit3db1079f66d13bdd0f1e9a3e561d3548d8ed1689 (patch)
tree755ee322043fa2707e132f7f8d33e413d2db99af /plugins/acl/acl.js
parent9f83b4c93b0151ce9d2362a8ac3fc9f8fb7bbf8e (diff)
- Mark read (lrs) rights by default for new ACL entry
git-svn-id: https://svn.roundcube.net/trunk@5482 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/acl/acl.js')
-rw-r--r--plugins/acl/acl.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js
index f3f920d28..9eb7faae2 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -299,6 +299,9 @@ rcube_webmail.prototype.acl_init_form = function(id)
else
type = id;
}
+ // mark read (lrs) rights by default
+ else
+ li_elements.filter(function() { return this.id.match(/^acl([lrs]|read)$/); }).prop('checked', true);
name_input.val(val);
$('input[value='+type+']').prop('checked', true);