]> git.proxmox.com Git - proxmox-backup.git/commitdiff
datastore content: reload after verify
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Sep 2020 16:27:30 +0000 (18:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Sep 2020 16:27:30 +0000 (18:27 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/DataStoreContent.js

index 9beb3b1f33db43654b19581c055d40a0692b5a93..2f0c8197c73a19b433fdf160daf61b53c3be4d3b 100644 (file)
@@ -270,7 +270,8 @@ Ext.define('PBS.DataStoreContent', {
        },
 
        onVerify: function(view, rI, cI, item, e, rec) {
-           var view = this.getView();
+           let me = this;
+           view = me.getView();
 
            if (!view.datastore) return;
 
@@ -302,6 +303,7 @@ Ext.define('PBS.DataStoreContent', {
                success: function(response, options) {
                    Ext.create('Proxmox.window.TaskViewer', {
                        upid: response.result.data,
+                       taskDone: () => me.reload(),
                    }).show();
                },
            });