From d8517edafade66f12fd9b3ab72c996f28e0c1992 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 9 Mar 2022 09:02:36 -0700 Subject: [PATCH] Fix template load failed if it didn't had a template to load, now just resolving quietly. Fixes calendar sidebox integration stalled eTemplate load --- api/js/etemplate/et2_widget_template.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/et2_widget_template.ts b/api/js/etemplate/et2_widget_template.ts index 380514e8de..0bbbfa9271 100644 --- a/api/js/etemplate/et2_widget_template.ts +++ b/api/js/etemplate/et2_widget_template.ts @@ -190,13 +190,13 @@ export class et2_template extends et2_DOMWidget else { this.egw().debug("warn", "Unable to find XML for ", template_name); - reject() + reject("Unable to find XML for " + template_name); } } else { - // No actual template - reject(); + // No actual template - not an error, just nothing to do + resolve(); } }); }