fix Firefox spinner scroller

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-01-11 15:58:11 +01:00
parent ba1ba9471d
commit 30076ed6cc

View File

@ -3,6 +3,11 @@
// do not send '_dc' parameter
Ext.Ajax.disableCaching = false;
// FIXME: HACK! Makes scrolling in number spinner work again. fixed in ExtJS >= 6.1
if (Ext.isFirefox) {
Ext.$eventNameMap.DOMMouseScroll = 'DOMMouseScroll';
}
// custom Vtypes
Ext.apply(Ext.form.field.VTypes, {
IPAddress: function(v) {