5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-10 01:18:06 +03:00
proxmox-backup/www/panel
Dominik Csapak 169ddf541d ui: prune: fix sending invalid parameters
the prune input panel is used in various contexts (add/editing a
prunejob, adding a datastore, executing a prune). These different api
calls don't all take the same parameters, so we have to correctly set
the `isCreate` to not send a `delete` paramter for those request if
there was an empty field.

Also set 'max-depth:0' only when recursive was not set *and* we can
set 'recursive', because for creating a datastore that is not supported
by the api, and for the prune job editing we override the whole
onGetValues anyway so that's not an issue there.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-03-07 10:30:40 +01:00
..
AccessControl.js www: use TFA widgets from widget toolkit 2021-11-17 09:44:55 +01:00
NodeInfo.js fix #5117: ui: node info: avoid invalid array access for certain foreign kernels 2023-12-14 13:52:07 +01:00
PrunePanel.js ui: prune: fix sending invalid parameters 2024-03-07 10:30:40 +01:00
StorageAndDisks.js fix #3690: ui: enable wipe-disk feature in system disk view 2023-11-28 18:39:45 +01:00
UsageChart.js ui: dark mode: add dark mode colors to the datastore usage charts 2023-03-28 15:24:41 +02:00
XtermJsConsole.js ui: add shell panel under administration 2020-11-04 18:16:49 +01:00