? ? Failure

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
24 Apr 2018

Pull Request for Issue # .

Summary of Changes

Don't use unnecessary closure, just use jQuery ready function.
Use javsacript strict mode
use event delegation where possible
Make tooltips and button groups work properly with repeatable subforms

Testing Instructions

Use beez3.
Create a page with a repeatable subform containing a radiobutton field with the btn-group class.

Expected result

Expect newly created rows to initialize btn-groups properly.

Actual result

Yes, it works.

Documentation Changes Required

No.

avatar okonomiyaki3000 okonomiyaki3000 - open - 24 Apr 2018
avatar okonomiyaki3000 okonomiyaki3000 - change - 24 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2018
Category JavaScript Front End Templates (site)
avatar okonomiyaki3000
okonomiyaki3000 - comment - 24 Apr 2018

This basically an alternative to #19722 with additional improvements and cleanup.

avatar ReLater
ReLater - comment - 28 Apr 2018

I have tested this item ? unsuccessfully on 8157f49

Fails with error:
ReferenceError: label is not defined template.js:14:8


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

avatar ReLater ReLater - test_item - 28 Apr 2018 - Tested unsuccessfully
avatar okonomiyaki3000 okonomiyaki3000 - change - 29 Apr 2018
Labels Added: ?
avatar ReLater
ReLater - comment - 29 Apr 2018

I have tested this item successfully on db22fd0


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

avatar ReLater ReLater - test_item - 29 Apr 2018 - Tested successfully
avatar ReLater
ReLater - comment - 29 Apr 2018

Just as a hint for testers (Beez doesn't load Bootstrap css always):
Deactivate this line before tests:
https://github.com/joomla/joomla-cms/blob/staging/templates/beez3/index.php#L41

to get the buttons styled correctly. Subforms don't look nice then but it is sufficient to test the concern of this pr.

avatar SharkyKZ SharkyKZ - test_item - 11 Oct 2019 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 11 Oct 2019

I have tested this item successfully on db22fd0


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

avatar SharkyKZ SharkyKZ - change - 11 Oct 2019
Status Pending Ready to Commit
avatar SharkyKZ
SharkyKZ - comment - 11 Oct 2019

RTC


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

avatar rdeutz rdeutz - change - 24 Nov 2019
Labels Added: ?
avatar HLeithner
HLeithner - comment - 5 Dec 2019

It took some time to merge but thanks for you fix.

avatar HLeithner HLeithner - change - 5 Dec 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-12-05 22:44:36
Closed_By HLeithner
avatar HLeithner HLeithner - close - 5 Dec 2019
avatar HLeithner HLeithner - merge - 5 Dec 2019

Add a Comment

Login with GitHub to post a comment