Elastic: Add title with full folder name on folders list elements

if displayed folder name is truncated because of overflow.
pull/6595/head
Aleksander Machniak 6 years ago
parent db780a2db5
commit 99ad249f6d

@ -7489,7 +7489,7 @@ function rcube_webmail()
}
// set folder name
$('a:first', row).text(display_name);
$('a:first', row).text(display_name).removeAttr('title');
// update subscription checkbox
$('input[name="_subscribed[]"]:first', row).val(id)

@ -978,3 +978,9 @@ html.touch {
content: @fa-var-file-alt;
}
}
#subscription-table {
li.mailbox a {
padding-right: 2.5rem;
}
}

@ -333,6 +333,11 @@ function rcube_elastic_ui()
(new MutationObserver(callback)).observe(list, {childList: true, subtree: true});
}
callback();
// Add title with full folder name on hover
// TODO: This should be done in another way, so if an entry is
// added after page load it also works there.
$('li.mailbox > a').on('mouseover', function() { rcube_webmail.long_subject_title_ex(this); });
});
// Store default logo path if not already set

Loading…
Cancel
Save