summaryrefslogtreecommitdiff
path: root/plugins/tasklist
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-12 13:53:41 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-12 13:53:41 (GMT)
commita5436ece25949c7c542ed7ce05d80b3de4e8224e (patch)
treeb5a5c70306b80b801202516faacc3869e64445c9 /plugins/tasklist
parentfbb71376ab75ecce80fd1c6c69a7cedc61c96057 (diff)
downloadroundcubemail-plugins-kolab-a5436ece25949c7c542ed7ce05d80b3de4e8224e.tar.gz
Better permission check in tasklist edit form
Diffstat (limited to 'plugins/tasklist')
-rw-r--r--plugins/tasklist/tasklist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tasklist/tasklist.js b/plugins/tasklist/tasklist.js
index 2de279a..9f18746 100644
--- a/plugins/tasklist/tasklist.js
+++ b/plugins/tasklist/tasklist.js
@@ -2707,7 +2707,7 @@ function rcube_tasklist_ui(settings)
editform = $('#tasklisteditform');
me.dialog_resize(rcmail.gui_containers.tasklistform, editform.height(), editform.width());
- name = $('#taskedit-tasklistame').prop('disabled', list.norename||false).val(list.editname || list.name);
+ name = $('#taskedit-tasklistame').prop('disabled', !has_permission(list, 'a')||list.norename).val(list.editname || list.name);
alarms = $('#taskedit-showalarms').prop('checked', list.showalarms).get(0);
name.select();