[BUGFIX] "Add media by URL" is not hidden if maxItems is reached 36/45436/2
authorSascha Egerer <sascha@sascha-egerer.de>
Wed, 23 Dec 2015 10:41:27 +0000 (11:41 +0100)
committerBenni Mack <benni@typo3.org>
Thu, 24 Dec 2015 12:17:25 +0000 (13:17 +0100)
commit4737238b2d96fc9066e8e103495e12cdd6100d4d
treee3a2a985d93e9d3f3052adae14b27d66dffef44b
parent29ea2ef39dd1a269dfec3263401c3fc0fe77e52a
[BUGFIX] "Add media by URL" is not hidden if maxItems is reached

The "Add media by URL" button for FAL realtions is not hidden
if maxItems has already been reached by the opened record.

Resolves: #72408
Related: #70762
Releases: master, 7.6
Change-Id: I71a27cbabd1fc6660f58d0374595af0558fb8a12
Reviewed-on: https://review.typo3.org/45436
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js