[pve-devel] [PATCH widget-toolkit v2 1/3] EditWindow: Change url to 'importdisk' for import
Dominic Jäger
d.jaeger at proxmox.com
Thu Jul 30 12:18:27 CEST 2020
Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
---
v1->v2: unchanged
src/window/Edit.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/window/Edit.js b/src/window/Edit.js
index d7972b6..2dfab19 100644
--- a/src/window/Edit.js
+++ b/src/window/Edit.js
@@ -134,6 +134,10 @@ Ext.define('Proxmox.window.Edit', {
values = undefined;
}
+ if (me.isImport) {
+ url = url.replace('config', 'importdisk');
+ }
+
Proxmox.Utils.API2Request({
url: url,
waitMsgTarget: me,
--
2.20.1
More information about the pve-devel
mailing list