|
|
@ -66,16 +66,16 @@ if (window.rcmail) {
|
|
|
|
else
|
|
|
|
else
|
|
|
|
li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true);
|
|
|
|
li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true);
|
|
|
|
|
|
|
|
|
|
|
|
if (li) {
|
|
|
|
if (li)
|
|
|
|
$(li).addClass('archive');
|
|
|
|
$(li).addClass('archive');
|
|
|
|
|
|
|
|
|
|
|
|
// in folder selector popup
|
|
|
|
// in folder selector popup
|
|
|
|
rcmail.addEventListener('menu-open', function(p) {
|
|
|
|
rcmail.addEventListener('menu-open', function(p) {
|
|
|
|
if (p.name == 'folder-selector') {
|
|
|
|
if (p.name == 'folder-selector') {
|
|
|
|
$('a[rel="' + $('a', li).attr('rel') + '"]', p.obj).parent().addClass('archive');
|
|
|
|
var search = rcmail.env.archive_folder;
|
|
|
|
}
|
|
|
|
$('a', p.obj).filter(function() { return $(this).data('id') == search; }).parent().addClass('archive');
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|