From f48a95aa29202cc087f30174b86792fa97cec616 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 22 Dec 2016 11:43:35 +0100 Subject: [PATCH] Unset initial folder/collection on auth errors --- plugins/kolab_files/kolab_files.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js index c7116e0b..8081f432 100644 --- a/plugins/kolab_files/kolab_files.js +++ b/plugins/kolab_files/kolab_files.js @@ -2061,7 +2061,8 @@ function kolab_files_ui() }); // 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) rcmail.folder_list.select(this.env.folder); else if (this.env.collection)