Skip to content
Snippets Groups Projects
Commit 19844032 authored by Pegane Nestor's avatar Pegane Nestor
Browse files

FIX #3790 iframe blindup after creation

parent c26c3c19
No related branches found
No related tags found
No related merge requests found
...@@ -425,7 +425,7 @@ abstract class folder_Abstract extends request ...@@ -425,7 +425,7 @@ abstract class folder_Abstract extends request
if($iframe == true){ if($iframe == true){
header( header(
"location: " . $_SESSION['config']['businessappurl'] "location: " . $_SESSION['config']['businessappurl']
. "index.php?page=create_folder_form_iframe&module=folder&display=false" . "index.php?page=create_folder_form_iframe&module=folder&display=false&show_iframe=false"
); );
}else{ }else{
unset($_SESSION['m_admin']); unset($_SESSION['m_admin']);
......
...@@ -177,6 +177,14 @@ $init = false; ...@@ -177,6 +177,14 @@ $init = false;
, ft_list.options[ft_list.options.selectedIndex].value, 'folder_indexes'); , ft_list.options[ft_list.options.selectedIndex].value, 'folder_indexes');
} }
</script> </script>
<?php }
if(!empty($_GET['show_iframe']) && $_GET['show_iframe']=='false'){
?>
<script>
new Effect.BlindUp(parent.document.getElementById('show_tab'));
</script>
<?php <?php
} ?> }
?>
</div> </div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment