]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
update IFrame class to ExtJS 7.0 implantation
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 1 Apr 2024 13:46:10 +0000 (15:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 1 Apr 2024 14:27:18 +0000 (16:27 +0200)
commit4a5dd6989971a95c1b3f1d0cc6742c38852b4aac
treec7448dbba7bbefe424048ee3e615e533b213d73b
parentda210b58a7d26944fa28928217f0899c42ebd379
update IFrame class to ExtJS 7.0 implantation

To get rid of some outdated event handlers like `beforeunload` which
Chromium based browsers are deprecating this year [0].

For those wondering about why we do not use ExtJS implementation
directly here it might be worth adding that the `Ext.ux` name space is
build to a separate file that has a (minified!) size of almost 160
KiB, and we only use a handful of those, so copying is a lot cheaper.

[0]: https://developer.chrome.com/docs/web-platform/deprecating-unload

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Toolkit.js