plugins/tasklist

Thomas Brüderli bruederli at kolabsys.com
Wed Aug 13 11:14:51 CEST 2014


 plugins/tasklist/tasklist.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 21136d83346b2301d5a3bd64bf3bad809efe3a9e
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Wed Aug 13 11:14:38 2014 +0200

    Hide RSVP widget for tasks with no attendees

diff --git a/plugins/tasklist/tasklist.js b/plugins/tasklist/tasklist.js
index 91a0537..7c3d3a7 100644
--- a/plugins/tasklist/tasklist.js
+++ b/plugins/tasklist/tasklist.js
@@ -1696,7 +1696,7 @@ function rcube_tasklist_ui(settings)
         $('#task-completeness .task-text').html(((rec.complete || 0) * 100) + '%');
         $('#task-status')[(rec.status ? 'show' : 'hide')]().children('.task-text').html(rcmail.gettext('status-'+String(rec.status).toLowerCase(),'tasklist'));
         $('#task-list .task-text').html(Q(me.tasklists[rec.list] ? me.tasklists[rec.list].name : ''));
-        $('#task-attendees, #task-organizer, #task-created-changed, #task-rsvp-comment').hide();
+        $('#task-attendees, #task-organizer, #task-created-changed, #task-rsvp, #task-rsvp-comment').hide();
 
         var itags = get_inherited_tags(rec);
         var taglist = $('#task-tags')[(rec.tags && rec.tags.length || itags.length ? 'show' : 'hide')]().children('.task-text').empty();




More information about the commits mailing list