summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-10-30 14:05:24 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-31 11:58:50 (GMT)
commitfb7de4efda2324617a0784a1d68f36e430f56284 (patch)
treeb62b5809191ca9fa9773e50dacc59eef9928e390 /plugins
parentb705e6bc2f109fa6662c2bc6762059170e49e491 (diff)
downloadroundcubemail-plugins-kolab-fb7de4efda2324617a0784a1d68f36e430f56284.tar.gz
Choose the currently selected list in new task dialog
Diffstat (limited to 'plugins')
-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 bc88a67..25ab68d 100644
--- a/plugins/tasklist/tasklist.js
+++ b/plugins/tasklist/tasklist.js
@@ -1188,7 +1188,7 @@ function rcube_tasklist_ui(settings)
var recstarttime = $('#taskedit-starttime').val(rec.starttime || '');
var complete = $('#taskedit-completeness').val((rec.complete || 0) * 100);
completeness_slider.slider('value', complete.val());
- var tasklist = $('#taskedit-tasklist').val(rec.list || 0).prop('disabled', rec.parent_id ? true : false);
+ var tasklist = $('#taskedit-tasklist').val(rec.list || me.selected_list).prop('disabled', rec.parent_id ? true : false);
// tag-edit line
var tagline = $(rcmail.gui_objects.edittagline).empty();