]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit - src/css/ext6-pmx.css
panel/RRDChart: fix legend/undoZoom
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 26 May 2021 08:58:33 +0000 (10:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 May 2021 11:37:36 +0000 (13:37 +0200)
commitfef7d0247768a0927998b9832a2454e5d01a6540
treeaf805d74305200631014f778d9665c6e1868f301
parentee4801472d5860b2d16d7e0c215bf1607367de00
panel/RRDChart: fix legend/undoZoom

the legend is by default of type 'sprite', rever to 'dom'
but we now have to unset the '.legend', else on destruction
extjs tries to destroy it twice

also change the onAfterAnimation listener to 'redraw', since
the original event does not exist anymore, add a buffer to it
so that it is not that heavy

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/css/ext6-pmx.css
src/panel/RRDChart.js