diff options
author | plegall <plg@piwigo.org> | 2010-04-09 20:05:27 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-04-09 20:05:27 +0000 |
commit | ca04de7d5e633c9e867812b8e65e14422562c24e (patch) | |
tree | 6b724305c7509c5cf3543c3a6ca85c6d9c58ee24 /admin/themes/default | |
parent | e39b4c4a0c4fe6f5a146a55f5119d01abe09bcb7 (diff) |
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
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/template/photos_add_direct.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
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() == "") { |