Fixed ticket 410, upload error message on new issue shouldn't be hidden.

This commit is contained in:
Raphaël Emourgeon 2010-03-16 10:03:49 +01:00 committed by Loic d'Anterroches
parent 0056e3f0b2
commit 349970cfaf
2 changed files with 6 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Much appreciated contributors:
Samuel Suther Samuel Suther
Ludovic Bellière Ludovic Bellière
Brian Armstrong Brian Armstrong
Raphaël Emourgeon
And all the nice users who spent time reporting issues and promoting And all the nice users who spent time reporting issues and promoting
the project. The project could not live without them. the project. The project could not live without them.

View File

@ -123,7 +123,11 @@ $(document).ready(function(){
}); });
var j=0; var j=0;
for (j=1;j<4;j=j+1) { for (j=1;j<4;j=j+1) {
$("#form-attachment-"+j).hide(); if($("tr#form-attachment-"+j+" > td > ul.errorlist").length == 0){
$("#form-attachment-"+j).hide();
}else{
$("#form-block-"+(j-1)).remove();
}
} }
}); });
</script> </script>