[BUGFIX] Access global TYPO3 object correctly
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / TypeScript / InfoWindow.ts
index afbe27f..76e9b5d 100644 (file)
@@ -29,7 +29,7 @@ class InfoWindow {
     Modal.advanced({
       type: Modal.types.iframe,
       size: Modal.sizes.large,
-      content: TYPO3.settings.ShowItem.moduleUrl
+      content: top.TYPO3.settings.ShowItem.moduleUrl
         + '&table=' + encodeURIComponent(table)
         + '&uid=' + (typeof uid === 'number' ? uid : encodeURIComponent(uid)),
       severity: SeverityEnum.notice