]> git.proxmox.com Git - pve-manager.git/commit
fix #1629: improve min/max memory handling
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 25 Jan 2018 14:55:11 +0000 (15:55 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 31 Jan 2018 13:08:46 +0000 (14:08 +0100)
commitb6450910cea2469fc9d5af817cffea38aba6b070
treea4229c53934c3c2c6b9a473e8a0397f516804772
parent07de0118046cdcd1e406958f620927bf717cf0fe
fix #1629: improve min/max memory handling

instead of directly setting the minvalue when the maxvalue is lower
we invalidate it and only on blur we set the minvalue

without this we lose the minvalue when editing only the maxvalue

e.g.:

Max: 2048
Min: 1024

if we now edit the maxvalue to 4096, on pressing the '4', we are
setting the minvalue to '4' because 4 is lower than 1024

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/qemu/MemoryEdit.js