? NPM Resource Changed PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar GeraintEdwards
GeraintEdwards
14 Jul 2023

Resubmission of PR #41159 for Joomla 4.3 instead

When you complete a tour and then interact with a targeted element the blur event listener is still attached and throws a javascript error

Pull Request for Issue # .

Summary of Changes

Check there is a tour active before attempting to focus on the tour step buttons

Testing Instructions

Run a tour e.g. How to create a menu item - cancel the tour before completing the title step (the same problem can exist in a completed tour).

Click in the 'title' field and then move it out (i.e. fire a blur event) the view the javascript console

Actual result BEFORE applying this Pull Request

Screenshot from 2023-07-14 10-44-22

Screenshot from 2023-07-14 10-44-31

Screenshot from 2023-07-14 10-44-43

Expected result AFTER applying this Pull Request

No error message in the console.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 14 Jul 2023
Category JavaScript Repository NPM Change
avatar GeraintEdwards GeraintEdwards - open - 14 Jul 2023
avatar GeraintEdwards GeraintEdwards - change - 14 Jul 2023
Status New Pending
avatar GeraintEdwards GeraintEdwards - change - 15 Jul 2023
Labels Added: NPM Resource Changed PR-4.3-dev
avatar khu5h1 khu5h1 - test_item - 16 Jul 2023 - Tested successfully
avatar khu5h1 khu5h1 - test_item - 16 Jul 2023 - Tested successfully
avatar khu5h1
khu5h1 - comment - 16 Jul 2023

I have tested this item successfully on 753db7a


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

avatar Quy Quy - test_item - 20 Jul 2023 - Tested successfully
avatar Quy
Quy - comment - 20 Jul 2023

I have tested this item successfully on 753db7a


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

avatar Quy Quy - change - 20 Jul 2023
Status Pending Ready to Commit
avatar Quy Quy - edited - 20 Jul 2023
avatar Quy
Quy - comment - 20 Jul 2023

RTC


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

avatar Quy Quy - change - 20 Jul 2023
Labels Added: ?
avatar obuisard obuisard - change - 20 Jul 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-07-20 22:27:02
Closed_By obuisard
avatar obuisard obuisard - close - 20 Jul 2023
avatar obuisard obuisard - merge - 20 Jul 2023
avatar obuisard
obuisard - comment - 20 Jul 2023

Thank you Geraint @GeraintEdwards for the PR!

Add a Comment

Login with GitHub to post a comment