From 42e314df9ac3322de99a8d2feed581c1c7897b29 Mon Sep 17 00:00:00 2001 From: robin Date: Tue, 25 Sep 2007 07:52:16 +0000 Subject: Disable moving of default folders. git-svn-id: https://svn.roundcube.net/trunk@812 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 43467e4d4..222a7db84 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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); } }; -- cgit v1.2.3