fix #4001: ui: add prefix to files downloaded through the pxar browser
Signed-off-by: Stefan Sterz <s.sterz@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
66ad63bac2
commit
4ac8ec11fb
|
@ -768,8 +768,9 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
title: `${type}/${id}/${timetext}`,
|
title: `${type}/${id}/${timetext}`,
|
||||||
listURL: `/api2/json/admin/datastore/${view.datastore}/catalog`,
|
listURL: `/api2/json/admin/datastore/${view.datastore}/catalog`,
|
||||||
downloadURL: `/api2/json/admin/datastore/${view.datastore}/pxar-file-download`,
|
downloadURL: `/api2/json/admin/datastore/${view.datastore}/pxar-file-download`,
|
||||||
enableTar: true,
|
|
||||||
extraParams,
|
extraParams,
|
||||||
|
enableTar: true,
|
||||||
|
downloadPrefix: `${type}-${id}-`,
|
||||||
archive: rec.data.filename,
|
archive: rec.data.filename,
|
||||||
}).show();
|
}).show();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue