Commit 576775f9 authored by Raph El's avatar Raph El

Merge branch 'cressRE' into qa

parents f25a246e e6e95dd1
......@@ -127,7 +127,7 @@
inputType : "text",
label : "Sujet",
values : sectionDyf.<?php echo $kunik ?>ParamsData.mail_type
}
},
mail_type : {
inputType : "textarea",
label : "Mail type",
......
......@@ -44,7 +44,7 @@ if( isset($this->costum["tpls"][$keyTpl]) ) {
foreach ($formList as $k => $v) {
?>
<div id='<?php echo $v ?>' class='col-sm-offset-1 col-sm-10 sectionStep ' style="padding-bottom:40px">
<div id='<?php echo $v ?>xx' class='col-sm-offset-1 col-sm-10 sectionStep ' style="padding-bottom:40px">
<?php
$form = PHDB::findOne( Form::COLLECTION,[ "id"=>$v ] );
?>
......@@ -99,23 +99,13 @@ jQuery(document).ready(function() {
descHtml = dataHelper.markdownToHtml($(v).html());
$(v).html(descHtml);
});
// Todo BUG en nav private
if( localStorage !== null && localStorage.wizardStep !== null)
showStepForm(localStorage.wizardStep);
});
function showStepForm(id){
mylog.log("showStepForm", id);
$(".sectionStep").addClass("hide");
$(id).removeClass("hide");
localStorage.setItem("wizardStep",id);
}
</script>
</div>
</div>
Markdown is supported
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