Fixed Can't override "sticky" options on `xf:submitrow`

DragonByte Tech

Well-known member
Affected version
2.2.1
Given this HTML <xf:submitrow icon="save" sticky="true" /> you would expect to be able to override certain options on the XF.FormSubmitRow or XF.Sticky element handlers, via data-sticky-class etc.
This is not possible, as these attributes are not being treated as row-level options, so they do not get included in $this->addElementHandler($rowOptions, 'form-submit-row', 'rowclass');.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.2).

Change log:
Allow passing through JS options for sticky submit rows
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom