summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 43467e4d4..222a7db84 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2504,12 +2504,7 @@ function rcube_webmail()
if (id = list.get_single_selection())
{
var folder = this.env.subscriptionrows['rcmrow'+id][0];
- if (this.env.folder && (this.env.folder==folder))
- {
- list.clear_selection();
- this.set_env('folder', null);
- }
- else
+ if (find_in_array(this.env.defaultfolders, folder)!=0)
this.set_env('folder', folder);
}
};