Feature #80579

Improve JavaScript Modal API

Added by Benjamin Kott over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2017-03-30
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
medium
Sprint Focus:
Stabilization Sprint

Related issues

Related to TYPO3 Core - Bug #80677: Default severity for modals only defined for modal header Closed 2017-04-04

Associated revisions

Revision 0612bfcd (diff)
Added by Benjamin Kott over 2 years ago

[FEATURE] Improved JavaScript Modal API

To improve the usability and flexibility for a unified handling of
overlays in the backend we're opening the existing API for modals to be
more flexible and adjustable to your needs for advanced usage. With the
introduction of the advanded API it is now possible to pass configuration
via a json object. This enables more easy configuation and better
fallbacks if the modal is not correctly configured.

For a unified experience all modals are now centered by default, will be
kept in place automatically and are available in different sizes depending
on your needs. In addition to this there is also a new type for loading
content into an iframe. Buttons now have full support for the TYPO3 Icon
API and data attributes can also be set by configuration.

Resolves: #80579
Releases: master
Change-Id: Iddd260193a55335889db1068fbd8684011db6518
Reviewed-on: https://review.typo3.org/52228
Tested-by: TYPO3com <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

Revision 119a1a40 (diff)
Added by Andreas Fernandez over 2 years ago

[BUGFIX] Determine default severity for modals correctly

This patch fixes the determination of the default severity for modals.
This ensures that the modal's header and its default button receive
the same coloring.

Resolves: #80677
Related: #80579
Releases: master
Change-Id: I7bfc5bff21a28318b2fea03f5fe534264e47cbb0
Reviewed-on: https://review.typo3.org/52356
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#6 Updated by Gerrit Code Review over 2 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#7 Updated by Gerrit Code Review over 2 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#8 Updated by Gerrit Code Review over 2 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52228

#9 Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#10 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF