summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.js
diff options
context:
space:
mode:
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);