Commit 8638c0fa authored by Dietmar Maurer's avatar Dietmar Maurer

HDMove: show task viewer

parent 233753f8
...@@ -440,6 +440,7 @@ Ext.define('PVE.Utils', { statics: { ...@@ -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', { ...@@ -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();
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment