(function(element, albumId) {
$(".show-data", element).click(function() {
console.log("show-data");
editAlbum(albumId);
});
$("button[name='moveLeft'], button[name='moveRight']", element).click(function() {
(function(element, albumId) {
$(".show-data", element).click(function() {
console.log("show-data");
editAlbum(albumId);
});
$("button[name='moveLeft'], button[name='moveRight']", element).click(function() {