diff --git a/view/js/data-min.js b/view/js/data-min.js index 60ad687..7d03a34 100644 --- a/view/js/data-min.js +++ b/view/js/data-min.js @@ -1,3 +1,3 @@ var subjectList=$("#subject-list"),subjectAdd=$("#add-subject"),exportDeflater=new FormDeflater(document.getElementById("export-form"),["input"],["data-name"]);subjectAdd.addEventListener("click",function(b){b=document.createElement("input");b.type="number";b.dataset.name="subjects";b.placeholder="Sujet";b.style="width: 5em; display: block;";subjectList.appendChild(b)},!1); -$("#export-form #export-all").addEventListener("click",function(b){var a=(new FormDeflater(subjectList,["input"],["data-name"])).deflate().subjects;b=[];a instanceof Array||(a=[a]);for(var c=0;c 0 ) + if( deflated.group != 'all' && subjects.length > 0 ) request.subjects = subjects; /* (5) On lance la requĂȘte */ api.send(request, function(res){ - + // Si erreur if( res.ModuleError != 0 ) return false;