Calendar planner:

- Fix error in group invitations when expanding into in each user's row
This commit is contained in:
Nathan Gray 2015-11-10 01:00:44 +00:00
parent 697444965d
commit 2df3a14e36

View File

@ -442,15 +442,16 @@ var et2_calendar_planner = et2_valueWidget.extend([et2_IDetachedDOM, et2_IResize
var participant = participants[user]; var participant = participants[user];
if (parseInt(user) < 0) // groups if (parseInt(user) < 0) // groups
{ {
var planner = this;
egw.accountData(user,'account_fullname',true,function(result) { egw.accountData(user,'account_fullname',true,function(result) {
for(var id in result) for(var id in result)
{ {
if(!participants[id]) add_row(id,participant); if(!participants[id]) add_row.call(planner,id,participant);
} }
},labels); },labels);
continue; continue;
} }
add_row(user, participant); add_row.call(this, user, participant);
} }
}, },
// Draw a single row // Draw a single row