Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3] Guided Tours - Eliminate tour blur event errors #41160

Merged
merged 3 commits into from
Jul 20, 2023

Conversation

GeraintEdwards
Copy link
Contributor

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

…tive tour before attempting to focus on the tour buttons!
@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-4.3-dev labels Jul 14, 2023
@GeraintEdwards GeraintEdwards marked this pull request as ready for review July 14, 2023 14:57
@obuisard obuisard added this to the Joomla! 4.3.4 milestone Jul 15, 2023
@khu5h1
Copy link
Contributor

khu5h1 commented Jul 16, 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.

@richard67 richard67 added the bug label Jul 16, 2023
@Quy
Copy link
Contributor

Quy commented Jul 20, 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.

@Quy Quy changed the title [4.3] Guided Tours - Eliminate tour blur event errors [4.3] Guided Tours - Eliminate tour blur event errors Jul 20, 2023
@Quy Quy removed the bug label Jul 20, 2023
@joomla-cms-bot joomla-cms-bot removed this from the Joomla! 4.3.4 milestone Jul 20, 2023
@Quy
Copy link
Contributor

Quy commented Jul 20, 2023

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 20, 2023
@obuisard obuisard merged commit 6a1a72a into joomla:4.3-dev Jul 20, 2023
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jul 20, 2023
@obuisard obuisard added this to the Joomla! 4.3.4 milestone Jul 20, 2023
@obuisard
Copy link
Contributor

Thank you Geraint @GeraintEdwards for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NPM Resource Changed This Pull Request can't be tested by Patchtester
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants