From bdfb98977b2e523801324c1a6d1421cdaee16e88 Mon Sep 17 00:00:00 2001 From: svncommit Date: Tue, 25 Sep 2007 07:52:16 +0000 Subject: Disable moving of default folders. --- program/js/app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'program') 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); } }; -- cgit v1.2.3