2 * This file is part of the TYPO3 CMS project.
4 * It is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License, either version 2
6 * of the License, or any later version.
8 * For the full copyright and license information, please read the
9 * LICENSE.txt file that was distributed with this source code.
11 * The TYPO3 project - inspiring people to share!
14 import Modal = require('TYPO3/CMS/Backend/Modal');
15 import Severity = require('TYPO3/CMS/Backend/Severity');
18 * Module: TYPO3/CMS/Backend/Wizard/NewContentElement
19 * NewContentElement JavaScript
20 * @exports TYPO3/CMS/Backend/Wizard/NewContentElement
22 class NewContentElement {
23 public static wizard(url: string, title: string): void {
25 callback: (currentModal: JQuery) => {
26 currentModal.find('.t3js-modal-body').addClass('t3-new-content-element-wizard-window');
29 severity: Severity.notice,
30 size: Modal.sizes.medium,
32 type: Modal.types.ajax,
37 export = NewContentElement;