From d095241a5556376c5e3f884ba0e0ce2c8fc28e65 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 e1fed66bb7..da92bc6739 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); } }