Skip to content

Commit

Permalink
bug 3149: admin image preview (colorbox) does not work for small orig…
Browse files Browse the repository at this point in the history
…inals

git-svn-id: http://piwigo.org/svn/trunk@30358 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rvelices committed Nov 3, 2014
1 parent dca7f6c commit a8f4ebc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/themes/default/js/batchManagerGlobal.js
Expand Up @@ -95,7 +95,7 @@ jQuery(document).ready(function() {
$('ul.thumbnails').enableShiftClick();
});

jQuery("a.preview-box").colorbox();
jQuery("a.preview-box").colorbox( {photo: true} );

jQuery('.thumbnails img').tipTip({
'delay' : 0,
Expand Down
4 changes: 3 additions & 1 deletion admin/themes/default/template/batch_manager_unit.tpl
Expand Up @@ -29,7 +29,9 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *}
});

{* <!-- THUMBNAILS --> *}
jQuery("a.preview-box").colorbox();
jQuery("a.preview-box").colorbox( {
photo: true
});
}());
{/footer_script}

Expand Down
4 changes: 3 additions & 1 deletion admin/themes/default/template/picture_modify.tpl
Expand Up @@ -38,7 +38,9 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *}
});

{* <!-- THUMBNAILS --> *}
jQuery("a.preview-box").colorbox();
jQuery("a.preview-box").colorbox({
photo: true
});
}());
{/footer_script}

Expand Down

0 comments on commit a8f4ebc

Please sign in to comment.