reset FileSelector grid when changing the storage

otherwise, when the new storage returns an error, we show the content
of the old storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-11-10 14:49:27 +01:00 committed by Fabian Grünbichler
parent 234d2e37b7
commit 4d8a345568

View File

@ -34,6 +34,7 @@ Ext.define('PVE.form.FileSelector', {
url: url
});
me.store.removeAll();
me.store.load();
},