[BUGFIX] Use passed severity for modal construction 33/58333/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 19 Sep 2018 11:50:36 +0000 (13:50 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 19 Sep 2018 12:03:00 +0000 (14:03 +0200)
commitc26c272b08580e375d338761695b34f5be7aa10d
tree9eaff8e643361bfdab7cd75992a0214d78078c39
parent010c88002aed8f8a48a5a4ca4d111959d1ee0c4d
[BUGFIX] Use passed severity for modal construction

The `severity` parameter must be passed to `advanced()` to have a proper
styling of the modal header.

Resolves: #86315
Related: #82596
Releases: master
Change-Id: I8904700198fd2ac6d5a0ac7817c3232cc84da4d1
Reviewed-on: https://review.typo3.org/58333
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Private/TypeScript/Modal.ts
typo3/sysext/backend/Resources/Public/JavaScript/Modal.js