www/DataStoreConfig.js: popup task viewer when starting GC

This commit is contained in:
Dietmar Maurer 2019-04-11 11:16:30 +02:00
parent 59961b8954
commit 8d76e8b773

View File

@ -39,6 +39,15 @@ Ext.define('PBS.DataStoreConfig', {
method: 'POST',
failure: function(response) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
},
success: function(response, options) {
var upid = response.result.data;
var win = Ext.create('Proxmox.window.TaskViewer', {
upid: upid
});
win.show();
me.close();
}
});
}