mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
upload form: automatically focus on the album name when opening the create album form
git-svn-id: http://piwigo.org/svn/trunk@12124 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user