Skip to content
Snippets Groups Projects
Commit 6512942f authored by Alex Arnaud's avatar Alex Arnaud Committed by Julian Maurice
Browse files

dev #15640 fix display of CkEditor in printing list

parent bb401739
Branches
Tags
5 merge requests!366Master,!365Master,!364Master,!356Dev 15640 customfields for trainings,!347Dev 15640 customfields for trainings
......@@ -3,6 +3,10 @@ echo $this->partial('formation/_formation_panel.phtml',
array('formation' => $this->session->getFormation()));
?>
<style>
.cke_contents {min-height: 500px;}
</style>
<div class="impressions tree">
<?php foreach($this->impressions as $libelle => $impressions) { ?>
<div><?php echo $libelle ?>
......@@ -14,9 +18,9 @@ echo $this->partial('formation/_formation_panel.phtml',
?>
</span>
<?php
echo sprintf('<div class="fusion_form" style="display:none">%s</div>',
$this->renderForm($impressions['form']));
<?php
echo sprintf('<div class="fusion_form" style="display:none">%s</div>',
$this->renderForm($impressions['form']));
?>
</div>
<?php } ?>
......@@ -28,8 +32,8 @@ Class_ScriptLoader::getInstance()->addJQueryReady(
'$("div.impressions .actions a:first-child").click(function(event){
event.preventDefault();
$(this).closest("div").find(".fusion_form").slideToggle();
});
});
$("div.impressions .actions a:first-child + a").attr("target", "_blank")'
);
?>
\ No newline at end of file
?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment