summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-25 07:52:16 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-25 07:52:16 +0000
commit42e314df9ac3322de99a8d2feed581c1c7897b29 (patch)
treeb7b1704726f27395ab7c759605122baacae802b9 /roundcubemail/program
parent11799a89bd2625ffd2443b14c5bfa6d261a5aae8 (diff)
Disable moving of default folders.
git-svn-id: https://svn.roundcube.net/trunk@812 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js7
1 files changed, 1 insertions, 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);
}
};