Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
4.1.1, 4.2.1
-
None
-
5
-
Flagged
-
Tiger Sprint 159, Tiger Sprint 160
Description
If a site uses require.js (see http://requirejs.org) for module loading, the Channel Manager does not work because the injected dragula.js does not create a "dragula" object.
Dragula.js checks if the Javascript object "define.amd" is present in the window and if so, it does not load itself, presumably because it assumes to be loaded through require.js. Object "define.amd" is created by require.js so maybe Dragula assumes itself being loaded in the require.js manner.
The subsequent usage of Dragula then leads to a Javascript error: t.iframe.dragula is not a function
Attachments
Issue Links
- is backported by
-
CHANNELMGR-1530 [back port to 11.2] The ChannelManager does not work when a site uses require.js: dragula object not loaded
- Closed