? ? Success

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. Fields that use squeezebox already work with repeatable subforms. This just does it in a somewhat better way.

Another note: Squeezebox uses mootools and is deprecated. Bootstrap modals are prefered. Still, as long as some fields use it, they should use it like this.

Testing Instructions

Set up a subform containing a field that uses squeezebox (for example contenthistory). 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 field in each new row should function properly.

Expected result

Fields that use squeezebox function normally.

Actual result

Fields that use squeezebox function 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 Libraries JavaScript
avatar Quy
Quy - comment - 27 Apr 2018

I have tested this item successfully on 41229fd

Tested with the Redirect plugin.


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

avatar Quy Quy - test_item - 27 Apr 2018 - Tested successfully
avatar viocassel
viocassel - comment - 3 Feb 2019

I have tested this item successfully on 41229fd


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

avatar viocassel viocassel - test_item - 3 Feb 2019 - Tested successfully
avatar Quy Quy - change - 3 Feb 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 3 Feb 2019

RTC


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

avatar alikon
alikon - comment - 2 May 2019

@HLeithner please a final response

1 year old rtc pr

avatar okonomiyaki3000 okonomiyaki3000 - change - 7 May 2019
Labels Removed: J3 Issue
avatar okonomiyaki3000 okonomiyaki3000 - change - 7 May 2019
Labels Added: ?
avatar HLeithner
HLeithner - comment - 10 May 2019

I think it makes no sense merging this if it fix nothing and subforms doesn't exists anylonger in j4. ymmv

avatar HLeithner HLeithner - change - 10 May 2019
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2019-05-10 12:42:44
Closed_By HLeithner
avatar HLeithner HLeithner - close - 10 May 2019
avatar okonomiyaki3000
okonomiyaki3000 - comment - 13 May 2019

Wait... subforms don't exist anymore?

avatar HLeithner
HLeithner - comment - 13 May 2019

They are getting hopefully replaced with #24711 if you can please test subfields, also a migration script should kick in converting subforms to subfields.

avatar wilsonge
wilsonge - comment - 14 May 2019

@HLeithner you're getting confused here. subforms do exist :) these are the xml attributes. subfields you're linking to are just subforms as a custom field

avatar wilsonge wilsonge - change - 14 May 2019
Status Closed New
Closed_Date 2019-05-10 12:42:44
Closed_By HLeithner
Labels Removed: ?
avatar wilsonge wilsonge - change - 14 May 2019
Status New Pending
avatar wilsonge wilsonge - reopen - 14 May 2019
avatar HLeithner
HLeithner - comment - 14 May 2019

thx @wilsonge for correction

avatar okonomiyaki3000
okonomiyaki3000 - comment - 14 May 2019

So we're still doing this, right?

avatar Quy Quy - change - 15 May 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 15 May 2019

RTC


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

avatar HLeithner HLeithner - change - 15 May 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-15 08:44:41
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 15 May 2019
avatar HLeithner HLeithner - merge - 15 May 2019
avatar HLeithner
HLeithner - comment - 15 May 2019

thx

Add a Comment

Login with GitHub to post a comment