[TASK] Migrate Modal to TypeScript
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / TypeScript / RenameFile.ts
index db6cf04..a122c98 100644 (file)
@@ -11,9 +11,9 @@
  * The TYPO3 project - inspiring people to share!
  */
 
  * The TYPO3 project - inspiring people to share!
  */
 
+import {SeverityEnum} from './Enum/Severity';
 import * as $ from 'jquery';
 import * as $ from 'jquery';
-import Modal = require('TYPO3/CMS/Backend/Modal');
-import Severity = require('./Severity');
+import Modal = require('./Modal');
 
 /**
  * Module: TYPO3/CMS/Backend/RenameFile
 
 /**
  * Module: TYPO3/CMS/Backend/RenameFile
@@ -56,7 +56,7 @@ class RenameFile {
           const modal: JQuery = Modal.confirm(
             TYPO3.lang['file_rename.exists.title'],
             description,
           const modal: JQuery = Modal.confirm(
             TYPO3.lang['file_rename.exists.title'],
             description,
-            Severity.warning,
+            SeverityEnum.warning,
             [
               {
                 active: true,
             [
               {
                 active: true,