diff options
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/photos_add_direct.tpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index 981868339..ab0fd7b05 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -96,13 +96,13 @@ jQuery(document).ready(function(){ ); } -/* - jQuery("#albumSelect").find("option").remove(); - fillCategoryListbox("albumSelect"); - fillCategoryListbox("category_parent"); -*/ - - jQuery(".addAlbumOpen").colorbox({inline:true, href:"#addAlbumForm"}); + jQuery(".addAlbumOpen").colorbox({ + inline:true, + href:"#addAlbumForm", + onComplete:function(){ + jQuery("input[name=category_name]").focus(); + } + }); jQuery("#addAlbumForm form").submit(function(){ jQuery("#categoryNameError").text(""); |