[pve-devel] [manager 4/6] Add imagedestroy to SafeDestroy

Wolfgang Link w.link at proxmox.com
Wed Nov 21 17:05:37 CET 2018


---
 www/manager6/window/SafeDestroy.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/window/SafeDestroy.js b/www/manager6/window/SafeDestroy.js
index f89d0fa7..8b17093f 100644
--- a/www/manager6/window/SafeDestroy.js
+++ b/www/manager6/window/SafeDestroy.js
@@ -157,6 +157,8 @@ Ext.define('PVE.window.SafeDestroy', {
 	    msg = Proxmox.Utils.format_task_description('vzdestroy', item.id);
 	} else if (item.type === 'CephPool') {
 	    msg = Proxmox.Utils.format_task_description('cephdestroypool', item.id);
+	} else if (item.type === 'Image') {
+	    msg = Proxmox.Utils.format_task_description('imgdel', item.id);
 	} else {
 	    throw "unknown item type specified";
 	}
-- 
2.11.0





More information about the pve-devel mailing list