Divers changement:
Ajout d'image pour le download (à changer) Changement de choose preference
This commit is contained in:
@@ -108,14 +108,16 @@ function writePerson() {
|
||||
|
||||
if (person.max <= person.min) {
|
||||
dwr.util.setValues({id:person.id, label:person.label, min:null, max:null });
|
||||
dwr.util.setValues({errorMax:"The max value should'nt be superior to the min value"});
|
||||
dwr.util.setValues({errorMax:"The max value should'nt be superior to the min value"});
|
||||
$('errorMax').style.display = "";
|
||||
}
|
||||
else {
|
||||
dwr.engine.beginBatch();
|
||||
AddCriteriaJS.setCriterionClick(person);
|
||||
fillTable();
|
||||
dwr.engine.endBatch();
|
||||
dwr.util.setValues({ id:-1, label:null, min:1, max:5 });
|
||||
dwr.util.setValues({ id:-1, label:null, min:1, max:5 });
|
||||
$('errorMax').style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user