]> git.proxmox.com Git - pve-manager.git/commitdiff
Add imagedestroy to SafeDestroy
authorWolfgang Link <w.link@proxmox.com>
Wed, 21 Nov 2018 16:05:37 +0000 (17:05 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Nov 2018 07:50:32 +0000 (08:50 +0100)
www/manager6/window/SafeDestroy.js

index f89d0fa75c24f0052ca613426caabc3429398e72..8b17093fbeb480404b4a5528a4a4e158aae446ca 100644 (file)
@@ -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";
        }