mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-03 04:19:55 +00:00
close HDMove on taskDone
this triggers the 'destroy' event of the window at the correct time Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
c6dd867828
commit
811a06ca65
@ -27,9 +27,13 @@ Ext.define('PVE.window.HDMove', {
|
||||
},
|
||||
success: function(response, options) {
|
||||
var upid = response.result.data;
|
||||
var win = Ext.create('Proxmox.window.TaskViewer', { upid: upid });
|
||||
var win = Ext.create('Proxmox.window.TaskViewer', {
|
||||
upid: upid,
|
||||
taskDone: function(success) {
|
||||
me.close();
|
||||
}
|
||||
});
|
||||
win.show();
|
||||
me.close();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user