From 484d439a7ccaba608ecc571d7887c1aaa9e71645 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 1 Sep 2020 18:27:30 +0200 Subject: [PATCH] datastore content: reload after verify Signed-off-by: Thomas Lamprecht --- www/DataStoreContent.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js index 9beb3b1f..2f0c8197 100644 --- a/www/DataStoreContent.js +++ b/www/DataStoreContent.js @@ -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(); }, });