Issue Bug Closed

#24238Javascript flashmessage miss named severity

Steffen Kamper 11/29/10, 21:21 updated 03/29/11, 23:44

Description

Simular to php, the severity is magic number 0-4
The patch adds an object TYPO3.Severity which allows to write readable code:

TYPO3.Flashmessage.display(
   TYPO3.Severity.information, 
   TYPO3.lang.header, 
   TYPO3.lang.message, 
   10
);

(issue imported from #M16608)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.