]> git.proxmox.com Git - pve-manager.git/commitdiff
fix #1872 Move button stays on the screen after closing
authorDavid Limbeck <d.limbeck@proxmox.com>
Mon, 20 Aug 2018 09:57:34 +0000 (11:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Aug 2018 12:42:27 +0000 (14:42 +0200)
www/manager6/qemu/HDMove.js

index f08fd316a12212043c59a4e755f4c4851db16f84..df325f7502b2d8dda094ff341e779533541b5736 100644 (file)
@@ -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(); });
            }
        });