NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
17 Jan 2021

Summary of Changes

Same as #32061
The code make sure that showon initialised only once, no mater how often Joomla.Showon.initilise was called.
Also add public Joomla.Showon.initilise (to be in sync with 3.10)

Testing Instructions

Apply path, run npm install
Make sure showon still works.

Example, go to global config change "Debug Language" on/off, should downup/hides "Language Display" field.
Also the field "Language Display" will have extra attribute data-showon-initialised

Actual result BEFORE applying this Pull Request

showon works,
the showon field do not have data-showon-initialised

Expected result AFTER applying this Pull Request

showon works,
the showon field do have data-showon-initialised attribute

avatar Fedik Fedik - open - 17 Jan 2021
avatar Fedik Fedik - change - 17 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jan 2021
Category JavaScript Repository NPM Change
1e2b0dd 17 Jan 2021 avatar Fedik type
avatar Fedik Fedik - change - 17 Jan 2021
Labels Added: NPM Resource Changed ?
avatar Fedik Fedik - change - 17 Jan 2021
Title
[4.0] Showon init only once, public method Joomla.Showon.initilise()
[4.0] Showon init only once, public method Joomla.Showon.initialise()
avatar Fedik Fedik - edited - 17 Jan 2021
avatar dgrammatiko dgrammatiko - test_item - 17 Jan 2021 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 17 Jan 2021

I have tested this item successfully on 1e2b0dd

@wilsonge this can be merged


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

avatar HLeithner
HLeithner - comment - 18 Jan 2021
e28aae0 18 Jan 2021 avatar Fedik jscs
avatar Fedik
Fedik - comment - 18 Jan 2021

done

avatar ceford ceford - test_item - 25 Jan 2021 - Tested successfully
avatar ceford
ceford - comment - 25 Jan 2021

I have tested this item successfully on e28aae0

To be clear: it is the control-group div that contains data-showon-initialised.


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

avatar wilsonge wilsonge - change - 27 Jan 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-27 22:47:37
Closed_By wilsonge
avatar wilsonge wilsonge - close - 27 Jan 2021
avatar wilsonge wilsonge - merge - 27 Jan 2021
avatar wilsonge
wilsonge - comment - 27 Jan 2021

Thanks!

Add a Comment

Login with GitHub to post a comment