User tests: Successful: Unsuccessful:
Pull Request for Issue #11755
This PR fixes a media field lightbox issue when additional subforms are added extending the page height. This results in the lightbox background no longer filling the page. Setting the lightbox background div (#sbox-overlay) to 'fixed' ensures the background remains within the viewport regardless of the page height.
Create ../modules/mod_login/text.xml to which add the following...
<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="images" class="image-subform">
<field name="image" type="media" default="" label="Label1" description="Desc1" size="30" />
<field name="text" type="textarea" filter="raw" rows="10" cols="42" default="" label="Label2" description="Desc2" />
</fieldset>
</form>
Add the following to the mod_login.xml file:
<field name="subformtest" type="subform" formsource="modules/mod_login/text.xml" class="advancedSelect" min="1" max="50" multiple="true" layout="joomla.form.field.subform.repeatable" groupByFieldset="true" label="Image(s)" description="Add image(s) to display in gallery" />
Then in the Module Manager, open the Login module. Add a number of subforms extending the page height. Click 'Select' in the last subform.
Before patch
After Patch
Just reported it to jissues @c-lodder joomla/jissues#871
I have tested this item
Status | New | ⇒ | Pending |
@C-Lodder i have just added you test
Status | Pending | ⇒ | Ready to Commit |
bot is sleeping!
No it's not. We're fighting with ModSecurity yet again.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-24 22:16:27 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
Can't find this on JIssues, so marking this test as successful here