prune sim: fix numberfield spinner scroll with firefox

copied over from widget toolkit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-07 13:32:00 +01:00
parent 8b24c6880a
commit 6de14a55ed
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
// FIXME: HACK! Makes scrolling in number spinner work again. fixed in ExtJS >= 6.1
if (Ext.isFirefox) {
Ext.$eventNameMap.DOMMouseScroll = 'DOMMouseScroll';
}
Ext.onReady(function() { Ext.onReady(function() {
const NOW = new Date(); const NOW = new Date();