diff --git a/apps/maarch_entreprise/js/functions.js b/apps/maarch_entreprise/js/functions.js index acc99ba525503712c5f0b4952b24fcc752a74fb8..971f78bc2735864a88bb5a30e147df64f76ff325 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') {