? ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
23 Mar 2022

Pull Request for Issue # .

Summary of Changes

The static assets should only be added inside a layout. The inlinehelp toolbar button is adding the assets (a js file) inside the logic and this makes it impossible to override/remove the script in an easy fashion (eg by editing the relative layout). Also it's pretty obvious that this is wrong as it's the only button that doesn't adhere to the CMS' norm (add the assets only inside the layouts).

Testing Instructions

Apply the PR and check that the inlinehelp still works as before (check the global options)

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

No assets added in the logic
Screenshot 2022-03-23 at 14 09 19

All the assets added in the layouts
Screenshot 2022-03-23 at 14 08 47

Documentation Changes Required

No, but it would be good to pull a flag whenever a PR is adding static assets in places other than the layouts

avatar dgrammatiko dgrammatiko - open - 23 Mar 2022
avatar dgrammatiko dgrammatiko - change - 23 Mar 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Mar 2022
Category Layout Libraries
avatar dgrammatiko dgrammatiko - change - 23 Mar 2022
The description was changed
avatar dgrammatiko dgrammatiko - edited - 23 Mar 2022
avatar laoneo
laoneo - comment - 23 Mar 2022

I have tested this item successfully on 50c0643


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

avatar laoneo laoneo - test_item - 23 Mar 2022 - Tested successfully
avatar Quy
Quy - comment - 23 Mar 2022

I have tested this item successfully on 50c0643


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

avatar Quy Quy - test_item - 23 Mar 2022 - Tested successfully
avatar Quy Quy - change - 23 Mar 2022
Status Pending Ready to Commit
Labels Added: ?
avatar dgrammatiko dgrammatiko - change - 23 Mar 2022
Labels Added: ?
avatar bembelimen bembelimen - close - 3 Apr 2022
avatar bembelimen bembelimen - merge - 3 Apr 2022
avatar bembelimen bembelimen - change - 3 Apr 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-04-03 11:03:12
Closed_By bembelimen
avatar bembelimen
bembelimen - comment - 3 Apr 2022

Thx

Add a Comment

Login with GitHub to post a comment