mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-06 09:29:04 +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,11 +27,15 @@ 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', { upid: upid });
|
var win = Ext.create('Proxmox.window.TaskViewer', {
|
||||||
win.show();
|
upid: upid,
|
||||||
|
taskDone: function(success) {
|
||||||
me.close();
|
me.close();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
win.show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user