Fix template load failed if it didn't had a template to load, now just resolving quietly.

Fixes calendar sidebox integration stalled eTemplate load
This commit is contained in:
nathan 2022-03-09 09:02:36 -07:00
parent 879f882ef1
commit d8517edafa

View File

@ -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();
}
});
}