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

"Deprecated feature used" #9620

Open
2 tasks done
ozgurkazancci opened this issue Aug 29, 2024 · 2 comments
Open
2 tasks done

"Deprecated feature used" #9620

ozgurkazancci opened this issue Aug 29, 2024 · 2 comments

Comments

@ozgurkazancci
Copy link

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

Describe the issue

"Deprecated feature used: jquery.min.js:36" appears on latest version of Roundcube, the message is from browser's developer console.

deprecated

Regards.

What browser(s) are you seeing the problem on?

Chrome

What version of PHP are you using?

8.1

What version of Roundcube are you using?

1.6.8

JavaScript errors

No response

PHP errors

No response

@alecpl
Copy link
Member

alecpl commented Aug 29, 2024

We updated jQuery in master, but we still use 'unload' event in at least one place. I guess we should get rid of it, or check if using 'beforeunload' is an acceptable fix.

I'll tag it as "bug", but it's not really a bug.

@alecpl alecpl added this to the later milestone Aug 29, 2024
@pabzm
Copy link
Member

pabzm commented Sep 15, 2024

Google suggests to use visibilitychange or pagehide: https://developer.chrome.com/docs/web-platform/deprecating-unload#alternatives_to_unload_events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants