HDMove: show task viewer

This commit is contained in:
Dietmar Maurer 2013-05-29 12:38:57 +02:00
parent 419cd54c79
commit 772a8ffb35
2 changed files with 4 additions and 0 deletions

View File

@ -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') ],

View File

@ -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();
} }
}); });