support icon indicating copy to clipboard operation
support copied to clipboard

Localization doesn't work for Microsoft Dynamics CRM Online.

Open SergeyMaltsev opened this issue 10 months ago • 0 comments

Forum post

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

SergeyMaltsev avatar Apr 18 '24 03:04 SergeyMaltsev