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

Update Deprecated Event Usage in SaveInterface Class #3378

Closed
wants to merge 2 commits into from

Conversation

navdeep545
Copy link
Contributor

This pull request addresses issue #3376 by updating the event handling in the SaveInterface class to align with the latest web standards. The issue reported that the class was using the deprecated returnValue property with the beforeunload event, and according to the latest standards, this should be replaced with the appropriate method for preventing the default behavior.

Changes Made:

Replaced the usage of event.returnValue with event.preventDefault() in the beforeunload event handling in the SaveInterface class.
Ensured that the code aligns with the latest web standards.
Steps to Test:

Open the developer console.
Perform actions that trigger the beforeunload event.
Observe the console for any deprecation warnings. There should be no warnings related to the deprecated use of returnValue.
Please review and merge this pull request. If you have any questions or need further clarification, feel free to reach out.

Thank you!

Best regards,
Navdeep Jajoria

@navdeep545
Copy link
Contributor Author

@walterbender @pikurasa

@walterbender
Copy link
Member

Please rebase and try again.

Copy link

github-actions bot commented Mar 8, 2024

This pull request has been open for more than 60 days without any activity. It will be closed in 3 days unless the stale label is removed or commented on.

@github-actions github-actions bot added the Stale label Mar 8, 2024
Copy link

Closed pull request due to inactivity for more than 63 days.

@github-actions github-actions bot closed this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants