? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
21 Mar 2018

Pull Request for Issue # .

Summary of Changes

  • The method HTMLHelper::webcomponent() is a little different than the script or stylesheet. This PR aligns it (basically the first param was an array and now is just the script path to be included).

  • This also assures that web components won't get loaded multiple times!

Testing Instructions

Apply patch, go to the backend and observe that alerts, switcher, media field and user field are still working!

Expected result

Actual result

Documentation Changes Required

Yes, a note here, using the same params as script and stylesheet is a good thing and also helpful for all devs since they don't have to remember that this method is weird and needs something different.

@wilsonge this is essential, I've got it wrong here 😓

avatar dgt41 dgt41 - open - 21 Mar 2018
avatar dgt41 dgt41 - change - 21 Mar 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Mar 2018
Category Administration com_config Templates (admin) Installation Layout Libraries JavaScript Front End Templates (site)
avatar dgt41 dgt41 - change - 21 Mar 2018
Labels Added: ?
avatar wilsonge wilsonge - change - 22 Mar 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-03-22 13:11:33
Closed_By wilsonge
avatar wilsonge wilsonge - close - 22 Mar 2018
avatar wilsonge wilsonge - merge - 22 Mar 2018

Add a Comment

Login with GitHub to post a comment