mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Make sure week labels with unknown users get updated when the names come back from the server
This commit is contained in:
parent
f7c9d9c5d5
commit
6ff2ba8f23
@ -376,6 +376,12 @@ var et2_calendar_view = (function(){ "use strict"; return et2_valueWidget.extend
|
|||||||
egw.jsonq('calendar_owner_etemplate_widget::ajax_owner',user,function(data) {
|
egw.jsonq('calendar_owner_etemplate_widget::ajax_owner',user,function(data) {
|
||||||
et2_calendar_view.owner_name_cache[user] = data;
|
et2_calendar_view.owner_name_cache[user] = data;
|
||||||
this.invalidate(true);
|
this.invalidate(true);
|
||||||
|
|
||||||
|
// Set owner to make sure labels get set
|
||||||
|
if(this.owner && typeof this.owner.set_value === 'function')
|
||||||
|
{
|
||||||
|
this.owner.set_value(data);
|
||||||
|
}
|
||||||
}.bind(this), this);
|
}.bind(this), this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user