Append calendar owner ID to cache ID without regard for current state. Fixes some problems where entries would go missing or show in the wrong date when you changed the selected owner.

This commit is contained in:
nathangray 2016-06-24 10:44:33 -06:00
parent cd34b70908
commit 6897cffdc7

View File

@ -3685,8 +3685,7 @@ jQuery.extend(app.classes.calendar,{
}
// If the owner is not set, 0, or the current user, don't bother adding it
var state_owner = app.calendar ? app.calendar.state.owner.toString() || '' : '';
var _owner = (owner && owner.toString() != '0' && owner !== state_owner) ? owner.toString() : '';
var _owner = (owner && owner.toString() != '0') ? owner.toString() : '';
if(_owner == egw.user('account_id'))
{
_owner = '';