]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/grid/BackupView.js
Fix a race conditon provoking the error no such file '/pve-storage-content'
authorEmmanuel Kasper <e.kasper@proxmox.com>
Wed, 21 Dec 2016 15:49:08 +0000 (16:49 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 3 Jan 2017 10:00:19 +0000 (11:00 +0100)
commit8dfd00cd096bc0656ee9a48de349a434569fb392
tree12bb44ddb9fae3cc12ccf4409be8ad4a9af1e397
parentb0a94fee7ab98de8aa7daa3c764a2366e7f7b9fd
Fix a race conditon provoking the error no such file '/pve-storage-content'

(NB: the error was only displayed intermittently in the browser console)

The reload call could try a store reload before the store has
a defined url.
The call here is useless since the initial display of
the storage selector compoment will call setStorage() to pass an url
to the store and load it.

Also remove the test on me.store.proxy.url since it was not working
(ExtJS autodefined an URL based on the model name)
www/manager6/grid/BackupView.js