RTC NPM Resource Changed bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Quy
Quy
15 Feb 2024

Pull Request for Issue #42818 .

Summary of Changes

Help icon fails to open help screen when clicked on the question mark.

Thanks @dgrammatiko for the solution.

Testing Instructions

Go to any screen which has a help screen, for example Content -> Articles.
Click on the text "Help" of the help toolbar button and you will see the appropriate help screen. However, if you click on the question mark to the left of the text you will get a much larger blank window with "about:blank" in the address bar.

Download the prebuilt package.
or
Apply PR and run npm run build:js

avatar Quy Quy - open - 15 Feb 2024
avatar Quy Quy - change - 15 Feb 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Feb 2024
Category Repository NPM Change
avatar ChristineWk ChristineWk - test_item - 15 Feb 2024 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 15 Feb 2024

I have tested this item ✅ successfully on 7a13d66

with NPM Prebuilt Package


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

avatar viocassel viocassel - test_item - 15 Feb 2024 - Tested successfully
avatar viocassel
viocassel - comment - 15 Feb 2024

I have tested this item ✅ successfully on 7a13d66


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

avatar Quy Quy - change - 15 Feb 2024
Status Pending Ready to Commit
Labels Added: NPM Resource Changed bug PR-4.4-dev
avatar Quy
Quy - comment - 15 Feb 2024

RTC


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

avatar C-Lodder
C-Lodder - comment - 16 Feb 2024

Please don't use CSS to fix a JS problem

You should be using currentTarget, rather than target instead:

https://github.com/joomla/joomla-cms/blob/4.4-dev/build/media_source/legacy/js/toolbar.es5.js#L46

E.g you want to target the element that the event is attached to (button), rather than trying to target the element that you clicked, which in this case (the icon), has no event attached to it.

avatar Quy Quy - change - 16 Feb 2024
Status Ready to Commit Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Feb 2024
Category Repository NPM Change JavaScript Repository NPM Change
avatar Quy Quy - change - 16 Feb 2024
The description was changed
avatar Quy Quy - edited - 16 Feb 2024
avatar C-Lodder C-Lodder - test_item - 16 Feb 2024 - Tested successfully
avatar C-Lodder
C-Lodder - comment - 16 Feb 2024

I have tested this item ✅ successfully on 92a1cf4


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

avatar viocassel viocassel - test_item - 16 Feb 2024 - Tested successfully
avatar viocassel
viocassel - comment - 16 Feb 2024

I have tested this item ✅ successfully on 92a1cf4


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

avatar Quy Quy - change - 16 Feb 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 16 Feb 2024

RTC


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

avatar Quy Quy - change - 21 Feb 2024
Labels Added: RTC
avatar MacJoom MacJoom - change - 22 Feb 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-02-22 12:37:02
Closed_By MacJoom
avatar MacJoom MacJoom - close - 22 Feb 2024
avatar MacJoom MacJoom - merge - 22 Feb 2024
avatar MacJoom
MacJoom - comment - 22 Feb 2024

Thank you!

Add a Comment

Login with GitHub to post a comment