Permalink
Browse files

Prise en compte d'un changement sur les modifs +/- pour ne pas quitte…

…r sans enregistrer.
  • Loading branch information...
1 parent 980c6fa commit 428fa781ce2f5fad864782d39a6ce92898333f89 @crob27 crob27 committed Jun 2, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 cahier_notes/saisie_notes.php
View
5 cahier_notes/saisie_notes.php
@@ -2287,7 +2287,10 @@ function modif_note(num, delta) {
if(((note.search(/^[0-9.]+$/)!=-1)&&(note.lastIndexOf('.')==note.indexOf('.',0)))||
((note.search(/^[0-9,]+$/)!=-1)&&(note.lastIndexOf(',')==note.indexOf(',',0)))){
note_modifiee=eval(note.replace(reg_virgule, '.'))+eval(delta);
- if((note_modifiee>=0)&&(note_modifiee<=$note_sur_verif)) {document.getElementById('n'+num).value=note_modifiee;}
+ if((note_modifiee>=0)&&(note_modifiee<=$note_sur_verif)) {
+ document.getElementById('n'+num).value=note_modifiee;
+ changement();
+ }
}
}
}

0 comments on commit 428fa78

Please sign in to comment.