mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:58:20 +00:00
fix #1872 Move button stays on the screen after closing
This commit is contained in:
parent
47f8655333
commit
eb273d60e5
@ -33,12 +33,10 @@ Ext.define('PVE.window.HDMove', {
|
|||||||
success: function(response, options) {
|
success: function(response, options) {
|
||||||
var upid = response.result.data;
|
var upid = response.result.data;
|
||||||
var win = Ext.create('Proxmox.window.TaskViewer', {
|
var win = Ext.create('Proxmox.window.TaskViewer', {
|
||||||
upid: upid,
|
upid: upid
|
||||||
taskDone: function(success) {
|
|
||||||
me.close();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
win.show();
|
win.show();
|
||||||
|
win.on('destroy', function() { me.close(); });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user