Fix return value of change directory

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-08-02 14:14:17 +02:00
parent bf88448f87
commit bcdbc4e19e
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -1623,7 +1623,7 @@
// discard finished uploads list, we'll get it through a regular reload
this._uploads = {};
this.reload().then(function(success){
return this.reload().then(function(success){
if (!success) {
self.changeDirectory(currentDir, true);
}