summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-21 10:24:32 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-21 10:24:42 (GMT)
commitafed2435d7de81defe006f3bc7f327ddfb2aadcf (patch)
treec96cd0838f9ea53db473bcc0054f5583e5228974
parent1a46c1d89717725d910ce0f36327e9e406fae74e (diff)
downloadroundcubemail-plugins-kolab-afed2435d7de81defe006f3bc7f327ddfb2aadcf.tar.gz
Update currently displayed task details dialog after refresh
-rw-r--r--plugins/tasklist/tasklist.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/tasklist/tasklist.js b/plugins/tasklist/tasklist.js
index ff80731..6b88867 100644
--- a/plugins/tasklist/tasklist.js
+++ b/plugins/tasklist/tasklist.js
@@ -1044,6 +1044,11 @@ function rcube_tasklist_ui(settings)
append_tags(rec.tags || []);
update_tagcloud();
fix_tree_toggles();
+
+ // refresh currently displayed task details dialog
+ if ($('#taskshow').is(':visible') && me.selected_task && me.selected_task.id == rec.id) {
+ task_show_dialog(rec.id);
+ }
}
/**