datastore content: reload after verify
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ab6615134c
commit
484d439a7c
|
@ -270,7 +270,8 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
},
|
},
|
||||||
|
|
||||||
onVerify: function(view, rI, cI, item, e, rec) {
|
onVerify: function(view, rI, cI, item, e, rec) {
|
||||||
var view = this.getView();
|
let me = this;
|
||||||
|
view = me.getView();
|
||||||
|
|
||||||
if (!view.datastore) return;
|
if (!view.datastore) return;
|
||||||
|
|
||||||
|
@ -302,6 +303,7 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
success: function(response, options) {
|
success: function(response, options) {
|
||||||
Ext.create('Proxmox.window.TaskViewer', {
|
Ext.create('Proxmox.window.TaskViewer', {
|
||||||
upid: response.result.data,
|
upid: response.result.data,
|
||||||
|
taskDone: () => me.reload(),
|
||||||
}).show();
|
}).show();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue