Disable moving of default folders.

release-0.6
svncommit 17 years ago
parent b0dbf3ce3e
commit bdfb98977b

@ -2504,12 +2504,7 @@ function rcube_webmail()
if (id = list.get_single_selection()) if (id = list.get_single_selection())
{ {
var folder = this.env.subscriptionrows['rcmrow'+id][0]; var folder = this.env.subscriptionrows['rcmrow'+id][0];
if (this.env.folder && (this.env.folder==folder)) if (find_in_array(this.env.defaultfolders, folder)!=0)
{
list.clear_selection();
this.set_env('folder', null);
}
else
this.set_env('folder', folder); this.set_env('folder', folder);
} }
}; };

Loading…
Cancel
Save