aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-09-06 13:41:01 +0000
committerplegall <plg@piwigo.org>2011-09-06 13:41:01 +0000
commit9053e5373bd48c88a461f807174a9a3de5e7f23e (patch)
treec852698a4e61d9d9ba627b378ff4bff3dcbe8074
parentbd4a5df9afd24a10b5b9aeef4c3c9108c9f61d63 (diff)
bug 2432 fixed: on the upload form, when a new album is created, it must
automatically the selected album. The update of jQuery 1.6.2 must have broken this feature. git-svn-id: http://piwigo.org/svn/trunk@12065 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl
index 52bc6b323..510556146 100644
--- a/admin/themes/default/template/photos_add_direct.tpl
+++ b/admin/themes/default/template/photos_add_direct.tpl
@@ -74,7 +74,7 @@ jQuery(document).ready(function(){
jQuery.each(
data.result.categories,
function(i,category) {
- var selected = "";
+ var selected = null;
if (category.id == selectedValue) {
selected = "selected";
}