#23564Integrate generic notification methods to show windows and dialogs based on ExtJS
Description
There are already some places where ExtJS is used to display modal windows and there will be some more in the future (e.g. as a result from the workspaces team sprint in Wiesbaden).
Thus, two new static functions are defined and placed in backend.php.
TYPO3.Window
TYPO3.Dialog
Thus, every application can use windows and dialogs like e.g.
top.TYPO3.Window.getWindow({
title: ‘Title’,
html: ‘Message’,
id: ‘cssId’,
identifier: ‘individualIdentifier’,
});
and select it by the given identifier again, like e.g.
top.TYPO3.Window.getActiveWindow(‘individualIdentifier’).close();
Dialogs can be shown for “information”, “question”, “error” and “warning” with e.g.
top.TYPO3.Window.getInformationDialog({
title: ‘Title’,
msg: ‘Message’
});
(issue imported from #M15745)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.