summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2007-09-25 07:52:16 +0000
committersvncommit <devs@roundcube.net>2007-09-25 07:52:16 +0000
commitbdfb98977b2e523801324c1a6d1421cdaee16e88 (patch)
tree89f6b24b9bf20142af72bd540abf2e543389cee4 /program/js/app.js
parentb0dbf3ce3e8a7b72e9d2c2376015f1f47de84d12 (diff)
Disable moving of default folders.
Diffstat (limited to 'program/js/app.js')
-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);
}
};