Dominik Csapak 25f7446c90 fix #4627: ui: backup edit: don't deselect all guests on load
'selectPoolMembers' will be called when the poolid field changes.
(That can even happen when the mode is not even 'pool') Due to how
the fields are set, there is a race condition that this will be
called after the remaining fields were set up, including the VM list
that might have entries selected.

Since the first thing we do here is to deselect all, this wiped the
virtual guest selection sometimes.

To fix it, check if we're actually in the correct mode before doing
anything.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-04-12 13:27:57 +02:00
2023-04-12 13:26:17 +02:00
2023-03-22 15:34:15 +01:00
2018-05-04 14:50:04 +02:00
Description
No description provided
276 MiB
Languages
JavaScript 62.6%
Perl 35%
Makefile 1.2%
CSS 0.6%
Smarty 0.3%
Other 0.2%