? Failure

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
25 Apr 2018

Pull Request for Issue # .

Summary of Changes

Subform repeatable has a function fixScripts which calls a few js initialization functions on a few of the field types that require it. There is a now a better way to handle that kind of thing by having any field that may need initialization listen for an event fired by subform repeatable. In this PR, I am transferring responsibility of one such initialization from subform repeatable to the correct field type itself.

Note: this PR doesn't really fix anything. the user field type already works with repeatable subforms. This just does it in a somewhat better way.

Testing Instructions

Set up a subform containing a user field. There's a subform in the redirect plugin that's simple to use for this purpose.

Open up the form and create new rows. The user field in each new row should function properly.

Expected result

User field functions normally.

Actual result

User field functions normally.

Documentation Changes Required

None

avatar okonomiyaki3000 okonomiyaki3000 - open - 25 Apr 2018
avatar okonomiyaki3000 okonomiyaki3000 - change - 25 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2018
Category JavaScript
avatar Quy
Quy - comment - 26 Apr 2018

I have tested this item successfully on f2999be


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20231.

avatar Quy Quy - test_item - 26 Apr 2018 - Tested successfully
avatar okonomiyaki3000 okonomiyaki3000 - change - 15 May 2019
Labels Removed: J3 Issue
avatar okonomiyaki3000
okonomiyaki3000 - comment - 16 May 2019

See also #24919

avatar Quy
Quy - comment - 18 May 2019

I have tested this item successfully on 157e33d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20231.

avatar Quy Quy - test_item - 18 May 2019 - Tested successfully
avatar HLeithner
HLeithner - comment - 20 May 2019

@okonomiyaki3000 could you please solve the conflicts?

avatar HLeithner HLeithner - change - 29 May 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-29 11:09:33
Closed_By HLeithner
avatar HLeithner HLeithner - close - 29 May 2019
avatar HLeithner HLeithner - merge - 29 May 2019

Add a Comment

Login with GitHub to post a comment