aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/include/add_album.inc.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-11-03 13:55:32 +0000
committermistic100 <mistic@piwigo.org>2013-11-03 13:55:32 +0000
commit7d939e3badba0c91bfb50f6a5883b8077fd50ae5 (patch)
treef58ba1a4f8d7deebaa44622a304f3339a7ac27df /admin/themes/default/template/include/add_album.inc.tpl
parent3a85687166f25a152e3bdaec2798a7c5756c53ea (diff)
bug 2944: r25280 broke the process on batch manager
git-svn-id: http://piwigo.org/svn/trunk@25312 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/include/add_album.inc.tpl')
-rw-r--r--admin/themes/default/template/include/add_album.inc.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/admin/themes/default/template/include/add_album.inc.tpl b/admin/themes/default/template/include/add_album.inc.tpl
index ef8ae1458..08ada07a4 100644
--- a/admin/themes/default/template/include/add_album.inc.tpl
+++ b/admin/themes/default/template/include/add_album.inc.tpl
@@ -1,11 +1,11 @@
{footer_script}{literal}
jQuery(document).ready(function(){
- var $albumSelect = jQuery("#albumSelect");
-
jQuery(".addAlbumOpen").colorbox({
inline: true,
href: "#addAlbumForm",
onComplete: function() {
+ var $albumSelect = jQuery("#albumSelect");
+
jQuery("input[name=category_name]").focus();
jQuery("#category_parent").html('<option value="0">------------</option>')
@@ -48,7 +48,8 @@ jQuery(document).ready(function(){
.attr("value", newAlbum)
.attr("selected", "selected")
.text(newAlbum_name);
-
+
+ var $albumSelect = jQuery("#albumSelect");
$albumSelect.find("option").removeAttr('selected');
if (parent_id==0) {