[pve-devel] [PATCH manager v2] fix #1872 Move button stays on the screen after closing

David Limbeck d.limbeck at proxmox.com
Mon Aug 20 11:57:34 CEST 2018


---
 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





More information about the pve-devel mailing list