Commit bee14bbd authored by Théo GUILLON's avatar Théo GUILLON
Browse files

Suppression : ligne commenté

Suppression : console.log
parent 6f709e85
......@@ -274,8 +274,6 @@ $line = 1;
// Mise en place des conditions
var conditions = <?php echo json_encode($conditions); ?>;
console.log(conditions);
$.each(conditions, function (key, value) {
// On cache le champ par défault
shownHideField(value['ifNot'], value['thenTheField']);
......
......@@ -100,14 +100,12 @@ $(document).ready(function () {
options = [];
$(draggable).find('input[type="checkbox"]').each(function () {
// options.push($(this).attr('value'));
options.push($(this).next('label').text());
});
objFieldDetails['options'] = options;
var valuesCheckboxesDefault = [];
$('input[name="'+fieldNameCheckboxes+'"]:checked').each(function(key, value) {
// valuesCheckboxesDefault.push(this.id);
valuesCheckboxesDefault.push(this.value);
});
objFieldDetails['default'] = valuesCheckboxesDefault;
......@@ -135,7 +133,6 @@ $(document).ready(function () {
var valuesRadiosDefault = '';
$('input[name="'+fieldNameRadios+'"]:checked').each(function() {
if (this.value != '') {
// valuesRadiosDefault = this.id;
valuesRadiosDefault = this.value;
}
});
......@@ -165,7 +162,6 @@ $(document).ready(function () {
var valuesDeroulantDefault = '';
$('option[name="'+fieldNameDeroulant+'"]:checked').each(function() {
if (this.value != '') {
// valuesDeroulantDefault = this.id;
valuesDeroulantDefault = this.value;
}
});
......
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