Skip to content

Commit

Permalink
bug 2944: r25280 broke the process on batch manager
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@25312 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
mistic100 committed Nov 3, 2013
1 parent 3a85687 commit 7d939e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 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>')
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7d939e3

Please sign in to comment.