[TASK] Migrate Modal to TypeScript
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / TypeScript / InfoWindow.ts
index 9c1fd8f..afbe27f 100644 (file)
@@ -11,8 +11,8 @@
  * The TYPO3 project - inspiring people to share!
  */
 
-import Modal = require('TYPO3/CMS/Backend/Modal');
-import Severity = require('./Severity');
+import {SeverityEnum} from './Enum/Severity';
+import Modal = require('./Modal');
 
 /**
  * Module: TYPO3/CMS/Backend/InfoWindow
@@ -32,7 +32,7 @@ class InfoWindow {
       content: TYPO3.settings.ShowItem.moduleUrl
         + '&table=' + encodeURIComponent(table)
         + '&uid=' + (typeof uid === 'number' ? uid : encodeURIComponent(uid)),
-      severity: Severity.notice
+      severity: SeverityEnum.notice
     });
   }
 }