]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fix Firefox spinner scroller
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Jan 2020 14:58:11 +0000 (15:58 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Jan 2020 14:59:03 +0000 (15:59 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Toolkit.js

index 6956a8e14f5300b097ece5ff905d89c3568ddec3..538db3af28a1b86d6518dafe0ccb176c2865c091 100644 (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) {