fix #1872 Move button stays on the screen after closing

This commit is contained in:
David Limbeck 2018-08-20 11:57:34 +02:00 committed by Thomas Lamprecht
parent 47f8655333
commit eb273d60e5

View 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(); });
}
});