From ca04de7d5e633c9e867812b8e65e14422562c24e Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 9 Apr 2010 20:05:27 +0000 Subject: bug 1555: make sure the #formErrors block is hidden by default when submitting the form. git-svn-id: http://piwigo.org/svn/trunk@5744 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/photos_add_direct.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'admin') diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index f75ad2493..e80024e5b 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -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() == "") { -- cgit v1.2.3