From f4ef4860e92ad9b599f1ecba21da559889bafa9f Mon Sep 17 00:00:00 2001 From: Alex Orluc <alex.orluc@maarch.org> Date: Fri, 20 Apr 2018 15:36:40 +0200 Subject: [PATCH] FIX #7467 fix height attachment list (cherry picked from commit bc01e4e7b19df33b1c396ec805adeadd6b27b5b9) --- apps/maarch_entreprise/js/functions.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/apps/maarch_entreprise/js/functions.js b/apps/maarch_entreprise/js/functions.js index acc99ba5255..971f78bc273 100755 --- a/apps/maarch_entreprise/js/functions.js +++ b/apps/maarch_entreprise/js/functions.js @@ -751,19 +751,7 @@ var BrowserDetect = { BrowserDetect.init(); function resize_frame_contact(mode) { - if (parent.$('iframe_tab') && mode == 'contact'){ - if($j('#divList').length) { - var contentHeight = Math.round($j('#divList').height())+2; - parent.$('iframe_tab').style.height=contentHeight+"px"; - } else if($j('#inner_content_contact').length) { - var contentHeight = Math.round($j('#inner_content_contact').height())+180; - parent.$('iframe_tab').style.height=contentHeight+"px"; - } else { - var contentHeight = Math.round($j('#inner_content').height())+20; - parent.$('iframe_tab').style.height=contentHeight+"px"; - } - - } else if (parent.$('contact_iframe_attach') && mode == 'contact') { + if (parent.$('contact_iframe_attach') && mode == 'contact') { var contentHeight = 370; parent.$('contact_iframe_attach').style.height=contentHeight+"px"; } else if (parent.$('info_contact_iframe_attach') && mode != 'contact') { -- GitLab