support
support copied to clipboard
Localization doesn't work for Microsoft Dynamics CRM Online.
Microsoft Dynamics CRM Online. has self
and globalThis
available.
When the application starts loading, the 'globalThis.bryntum' object is available but then after some seconds the CRM online starts to load its components which also use 'globalThis' object and 'globalThis.bryntum' becomes 'undefined'.
Proposed solution
Prefer globalThis
where available for localization storage.
const global = typeof globalThis !== 'undefined'
? globalThis
: typeof self !== 'undefined' ? self : null;
Note:
Please check for the issue described here: https://forum.bryntum.com/viewtopic.php?p=144976#p144976