summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-10-24 08:59:01 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-31 11:52:01 (GMT)
commit66371500664f1d4ddf4743249b676d0d41b09526 (patch)
tree0f483f276e75abd1f7f620c66c547352d979cdf9
parentf8220576d8e0cbcc6f22b9b7dbfe08eb070f604b (diff)
downloadroundcubemail-plugins-kolab-66371500664f1d4ddf4743249b676d0d41b09526.tar.gz
Fix assignment to a new list in edit dialog
-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 2c1a921..198ba82 100644
--- a/plugins/tasklist/tasklist.js
+++ b/plugins/tasklist/tasklist.js
@@ -1208,7 +1208,7 @@ function rcube_tasklist_ui(settings)
}
// task assigned to a new list
- if (me.selected_task.list && me.selected_task.list != rec.list) {
+ if (me.selected_task.list && listdata[id] && me.selected_task.list != listdata[id].list) {
me.selected_task._fromlist = rec.list;
}