From 6ff2ba8f23b6885354aad63bdf634b144a63917d Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 2 May 2019 11:20:38 -0600 Subject: [PATCH] Make sure week labels with unknown users get updated when the names come back from the server --- calendar/js/et2_widget_view.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/calendar/js/et2_widget_view.js b/calendar/js/et2_widget_view.js index 6ef21670ee..031795ca17 100644 --- a/calendar/js/et2_widget_view.js +++ b/calendar/js/et2_widget_view.js @@ -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) { et2_calendar_view.owner_name_cache[user] = data; 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); } }