Commit 76553f4c authored by Anatole Rakotoson's avatar Anatole Rakotoson

community wizard

parent 041fc1af
......@@ -99,20 +99,9 @@ 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>
......
......@@ -97,7 +97,7 @@ if( isset( $form["inputs"] ) ){ ?>
"answer" => $answer,
"answers" => $answers ,//sub answers for this input
"label" => $input["label"] ,//$ct." - ".$input["label"] ,
"titleColor"=> "#16A9B1",
"titleColor"=> (isset(Yii::app()->session["costum"]["colors"]["pink"])) ? Yii::app()->session["costum"]["colors"]["pink"] : "#16A9B1",
// "titleColor" => "#3399FF",
"info" => isset($input["info"]) ? $input["info"] : "" ,
"placeholder" => isset($input["placeholder"]) ? $input["placeholder"] : "" ,
......
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