this is a workaround for scrolling in toolbars, etc. in firefox with
the mouse.
while the result is not very "pretty", it maintains the old behaviour
for all other browsers and makes it work in firefox
we may drop this when we update to a new extjs release
commit 484bf3f29e58d0f96c65e6dca6b5dd95eaea180c from pve-manager
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
adds a workaround, so that we restore the scroll position when we
restore the focus. Fixies an annoying issue where, if a user had an
ellemtn selected, scrolled down and then a store refresh re-rendered
the view it was scrolled back to the selected item and the user lost
his scrolling position.
Add also the 'jumpToFocus' flag to allow enabling the old behaviour
commit e6f2a94f4fff3c125e8406a21d8d6159aca1421e from pve-manager
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
by default, extjs submits the language dependent decimal separator,
e.g., ',' (comma) for german and '.' (dot) for english.
We always want the dot.
commit 5c660b6d1302a5fbb3dcf477cf8b5adc9f798530 from pve-manager
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
The parent method does this already in ExtJS 6
commit d19ffc1bb078e42a042c5c73797d713aa9cf9bcc from pve-manager
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>