mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
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:
parent
cd34b70908
commit
6897cffdc7
@ -3684,9 +3684,8 @@ jQuery.extend(app.classes.calendar,{
|
||||
date = date.getUTCFullYear() + sprintf('%02d',date.getUTCMonth()+1) + sprintf('%02d',date.getUTCDate());
|
||||
}
|
||||
|
||||
// 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() : '';
|
||||
// If the owner is not set, 0, or the current user, don't bother adding it
|
||||
var _owner = (owner && owner.toString() != '0') ? owner.toString() : '';
|
||||
if(_owner == egw.user('account_id'))
|
||||
{
|
||||
_owner = '';
|
||||
|
Loading…
Reference in New Issue
Block a user