Unset initial folder/collection on auth errors
This commit is contained in:
parent
516768726a
commit
f48a95aa29
1 changed files with 2 additions and 1 deletions
|
@ -2061,7 +2061,8 @@ function kolab_files_ui()
|
||||||
});
|
});
|
||||||
|
|
||||||
// select first folder?
|
// select first folder?
|
||||||
if (response.result.auth_errors && response.result.auth_errors.length) { }
|
if (response.result.auth_errors && response.result.auth_errors.length)
|
||||||
|
this.env.folder = this.env.collection = null;
|
||||||
else if (this.env.folder)
|
else if (this.env.folder)
|
||||||
rcmail.folder_list.select(this.env.folder);
|
rcmail.folder_list.select(this.env.folder);
|
||||||
else if (this.env.collection)
|
else if (this.env.collection)
|
||||||
|
|
Loading…
Add table
Reference in a new issue