|
|
@ -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,6 +1625,7 @@ function rcube_webmail()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!this.drag_active) {
|
|
|
|
if (!this.drag_active) {
|
|
|
|
|
|
|
|
if (old !== this.env[prefname])
|
|
|
|
this.command('save-pref', { name: prefname, value: this.env[prefname] });
|
|
|
|
this.command('save-pref', { name: prefname, value: this.env[prefname] });
|
|
|
|
|
|
|
|
|
|
|
|
if (this.env.unread_counts)
|
|
|
|
if (this.env.unread_counts)
|
|
|
|