Fix return value of change directory
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
bf88448f87
commit
bcdbc4e19e
|
@ -1623,7 +1623,7 @@
|
||||||
|
|
||||||
// discard finished uploads list, we'll get it through a regular reload
|
// discard finished uploads list, we'll get it through a regular reload
|
||||||
this._uploads = {};
|
this._uploads = {};
|
||||||
this.reload().then(function(success){
|
return this.reload().then(function(success){
|
||||||
if (!success) {
|
if (!success) {
|
||||||
self.changeDirectory(currentDir, true);
|
self.changeDirectory(currentDir, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue