|
|
@ -1608,7 +1608,8 @@ function rcube_webmail()
|
|
|
|
|
|
|
|
|
|
|
|
this.folder_collapsed = function(node)
|
|
|
|
this.folder_collapsed = function(node)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var prefname = this.env.task == 'addressbook' ? 'collapsed_abooks' : 'collapsed_folders';
|
|
|
|
var prefname = this.env.task == 'addressbook' ? 'collapsed_abooks' : 'collapsed_folders',
|
|
|
|
|
|
|
|
old = this.env[prefname];
|
|
|
|
|
|
|
|
|
|
|
|
if (node.collapsed) {
|
|
|
|
if (node.collapsed) {
|
|
|
|
this.env[prefname] = this.env[prefname] + '&'+urlencode(node.id)+'&';
|
|
|
|
this.env[prefname] = this.env[prefname] + '&'+urlencode(node.id)+'&';
|
|
|
@ -1624,7 +1625,8 @@ function rcube_webmail()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!this.drag_active) {
|
|
|
|
if (!this.drag_active) {
|
|
|
|
this.command('save-pref', { name: prefname, value: this.env[prefname] });
|
|
|
|
if (old !== this.env[prefname])
|
|
|
|
|
|
|
|
this.command('save-pref', { name: prefname, value: this.env[prefname] });
|
|
|
|
|
|
|
|
|
|
|
|
if (this.env.unread_counts)
|
|
|
|
if (this.env.unread_counts)
|
|
|
|
this.set_unread_count_display(node.id, false);
|
|
|
|
this.set_unread_count_display(node.id, false);
|
|
|
|