mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-12 11:31:41 +00:00
HDMove: show task viewer
This commit is contained in:
parent
419cd54c79
commit
772a8ffb35
@ -440,6 +440,7 @@ Ext.define('PVE.Utils', { statics: {
|
|||||||
qmdestroy: [ 'VM', gettext('Destroy') ],
|
qmdestroy: [ 'VM', gettext('Destroy') ],
|
||||||
qmigrate: [ 'VM', gettext('Migrate') ],
|
qmigrate: [ 'VM', gettext('Migrate') ],
|
||||||
qmclone: [ 'VM', gettext('Clone') ],
|
qmclone: [ 'VM', gettext('Clone') ],
|
||||||
|
qmmove: [ 'VM', gettext('Move disk') ],
|
||||||
qmtemplate: [ 'VM', gettext('Convert to template') ],
|
qmtemplate: [ 'VM', gettext('Convert to template') ],
|
||||||
qmstart: [ 'VM', gettext('Start') ],
|
qmstart: [ 'VM', gettext('Start') ],
|
||||||
qmstop: [ 'VM', gettext('Stop') ],
|
qmstop: [ 'VM', gettext('Stop') ],
|
||||||
|
@ -22,6 +22,9 @@ Ext.define('PVE.window.HDMove', {
|
|||||||
Ext.Msg.alert('Error', response.htmlStatus);
|
Ext.Msg.alert('Error', response.htmlStatus);
|
||||||
},
|
},
|
||||||
success: function(response, options) {
|
success: function(response, options) {
|
||||||
|
var upid = response.result.data;
|
||||||
|
var win = Ext.create('PVE.window.TaskViewer', { upid: upid });
|
||||||
|
win.show();
|
||||||
me.close();
|
me.close();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user