Skip to content

Commit

Permalink
bug 1555: make sure the #formErrors block is hidden by default when s…
Browse files Browse the repository at this point in the history
…ubmitting

the form.

git-svn-id: http://piwigo.org/svn/trunk@5744 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Apr 9, 2010
1 parent e39b4c4 commit ca04de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/themes/default/template/photos_add_direct.tpl
Expand Up @@ -10,6 +10,7 @@
jQuery(document).ready(function(){
function checkUploadStart() {
var nbErrors = 0;
$("#formErrors").hide();
$("#formErrors li").hide();
if ($("input[name=category_type]:checked").val() == "new" && $("input[name=category_name]").val() == "") {
Expand Down

0 comments on commit ca04de7

Please sign in to comment.