Calendar - queue unknown owner label requests

This commit is contained in:
nathangray 2019-01-22 09:31:11 -07:00
parent 0078549dcd
commit 2f5e6f3574

View File

@ -373,7 +373,10 @@ var et2_calendar_view = (function(){ "use strict"; return et2_valueWidget.extend
{
// No sidebox? Must be in home or sitemgr (no caching) - ask directly
label = '?';
egw.json('calendar_owner_etemplate_widget::ajax_owner',user,function(data) {label = data;}, this).sendRequest();
egw.jsonq('calendar_owner_etemplate_widget::ajax_owner',user,function(data) {
et2_calendar_view.owner_name_cache[user] = data;
this.invalidate(true);
}.bind(this), this);
}
}
if(label)