Fixed XF.Nestable does not make use of XF.findRelativeIf to find hidden input

Affected version
2.2.2

TickTackk

Well-known member
JavaScript:
            this.$valueInput = this.$target.find(this.options.valueInput);
            if (!this.$valueInput.length)
            {
                console.error('No value input found matching selector %s', this.options.valueInput);
                return false;
            }
needs to be
JavaScript:
            this.$valueInput = XF.findRelativeIf(this.options.valueInput, this.$target);
            if (!this.$valueInput.length)
            {
                console.error('No value input found matching selector %s', this.options.valueInput);
                return false;
            }
 

XF Bug Bot

XenForo bug fixer bot
Staff member
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.3).

Change log:
Use findRelativeIf within XF.Nestable to find inputs
There may be a delay before changes are rolled out to the XenForo Community.
 
Top