www/DataStoreConfig.js: popup task viewer when starting GC
This commit is contained in:
parent
59961b8954
commit
8d76e8b773
|
@ -39,6 +39,15 @@ Ext.define('PBS.DataStoreConfig', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
failure: function(response) {
|
failure: function(response) {
|
||||||
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
|
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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue