Skip to content

Commit

Permalink
[FIX]Fixing the display of parent folder when creating subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
IrAlfred authored and josaphatim committed Jun 11, 2024
1 parent 90d4716 commit de6f4c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/imap_folders/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ var expand_folders_page_list = function(path, container, link_class, target, id_
var set_folders_page_value = function(id, container, target, id_dest) {
var list = $('.'+container);
var list_item = $('.'+Hm_Utils.clean_selector(id), list);
var link = $('a', list_item).first().text();
if (link == '+' || link == '-') {
var link = $('a', list_item).not('.expand_link').first().text();
if (! link) {
link = $('a', list_item).eq(1).text();
}
$('.'+target).html(link);
Expand Down

0 comments on commit de6f4c8

Please sign in to comment.