Add files via upload

This commit is contained in:
seb1k 2024-09-14 12:05:07 +02:00 committed by GitHub
parent 1f9adb2d8a
commit 0312d7fe1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

34
ui.min.js vendored
View file

@ -357,11 +357,13 @@ if(rcmail.env.action=="preview")
// move "Download all attachments" button into a better location
$('#attachment-list + a.zipdownload').appendTo('.header-links');
// issue https://github.com/seb1k/Elastic2022/issues/10
/*
if (ios = $('html').is('.ipad,.iphone')) {
$('.iframe-wrapper, .scroller').addClass('ios-scroll');
}
*/
if ($('html').filter('.ipad,.iphone,.webkit.mobile,.webkit.tablet').addClass('webkit-scroller').length) {
$(layout.menu).addClass('webkit-scroller');
}
@ -4654,6 +4656,7 @@ if(document.getElementById("messagelist-content"))
function resizemessagelist()
{
if(!document.getElementById("messagelist-content"))return // not loaded yet
if(!document.getElementById('searchmenu').classList.contains('hidden')) return //https://github.com/seb1k/Elastic2022/issues/8
@ -4666,7 +4669,6 @@ var trsize = d.querySelector('.message').getBoundingClientRect().height // more
d.style.paddingBottom=h%trsize+"px"
}
function scroll_mailbymail(e)
{
e.preventDefault();
@ -5106,6 +5108,11 @@ if(rcmail.env.task == "mail")
$("#menuleft_cont").append($('#plugin-ident_switch-account'));
$("#menuleft_cont").append($('#folderlist-content'));
}
if(rcmail.env.task == "addressbook")
{
$("#menuleft_cont").append($('#directorylist'));
$("#directorylist").append($('#layout-sidebar .header a'));
}
if(rcmail.env.task == "calendar")
{
$("#menuleft_cont").append($('#layout-sidebar .searchbar'));
@ -5145,13 +5152,20 @@ document.querySelector("#menuleft").classList.remove("menu_marginleft");
if(rcmail.env.task == "mail")
{
setTimeout(function() {
if(is_plugin_ident_switch_account())
$('.header-title.username').append($("#plugin-ident_switch-account"))
$('#folderlist-content').insertBefore($('.menu.menu_bottom'));
}, 300);
setTimeout(function() {
if(is_plugin_ident_switch_account())
$('.header-title.username').append($("#plugin-ident_switch-account"))
$('#folderlist-content').insertBefore($('.menu.menu_bottom'));
}, 300);
}
if(rcmail.env.task == "addressbook")
{
setTimeout(function() {
$('#directorylist').insertBefore($('#layout-sidebar .scroller'));
$("#layout-sidebar .header").append($('#directorylist a.sidebar-menu'));
}, 300);
}
if(rcmail.env.task == "calendar")
{