---
 www/manager6/qemu/HDMove.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/www/manager6/qemu/HDMove.js b/www/manager6/qemu/HDMove.js
index f08fd316..df325f75 100644
--- a/www/manager6/qemu/HDMove.js
+++ b/www/manager6/qemu/HDMove.js
@@ -33,12 +33,10 @@ Ext.define('PVE.window.HDMove', {
            success: function(response, options) {
                var upid = response.result.data;
                var win = Ext.create('Proxmox.window.TaskViewer', {
-                   upid: upid,
-                   taskDone: function(success) {
-                       me.close();
-                   }
+                   upid: upid
                });
                win.show();
+               win.on('destroy', function() { me.close(); });
            }
        });
 
-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to