[TYPO3-core] FYI24: #16608: Javascript flashmessage miss named severity

Steffen Kamper info at sk-typo3.de
Mon Nov 29 21:24:43 CET 2010


Hi,

this is a SVN patch request.

Type: Cleanup

BT Reference: http://bugs.typo3.org/view.php?id=16608

Branches: trunk

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
);

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16608.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101129/5e47ee71/attachment.asc>


More information about the TYPO3-team-core mailing list