|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|