Calendar - Fix another case of group events not showing properly

This commit is contained in:
nathangray
2019-09-11 13:28:33 -06:00
parent a16a715829
commit 2f1dfcc3d8
2 changed files with 29 additions and 0 deletions

View File

@ -232,6 +232,24 @@ egw.extend('user', egw.MODULE_GLOBAL, function()
}
},
/**
* Set account data. This one can be called from the server to pre-fill the cache.
*
* @param {Array} _data
* @param {String} _field
*/
set_account_cache: function(_data, _field)
{
for(var account_id in _data)
{
if (typeof accountData[account_id] === 'undefined')
{
accountData[account_id] = {};
}
accountData[account_id][_field] = _data[account_id];
}
},
/**
* Set specified account-data of selected user in an other widget
*