Commit f1eec89f authored by Clément Damiens's avatar Clément Damiens
Browse files

Merge remote-tracking branch 'origin/development' into development

parents cd217274 9b530535
......@@ -169,6 +169,7 @@ if( $mode != "pdf" ){
var formData = $("#ajaxFormModal").serializeFormJSON();
var today = new Date();
today = today.getDate() + '/' + (today.getMonth()+1) + '/' + today.getFullYear();
ctxTpl = {
id : "<?php echo $answer['_id'] ?>",
collection : "answers",
......@@ -181,6 +182,8 @@ if( $mode != "pdf" ){
user : userId
}
};
if(costum.form.ids.length == $.inArray( "<?php echo $form['id'] ?>", costum.form.ids )+1 && formData.valid == "valid")
ctxTpl.value.finished = true;
mylog.log("validation save",ctxTpl);
......
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