X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/25881fff0322a55a8c0869557e966afb9c02beb9..92c4a21dbc8fa9ff9c8d10127b7afffed5341b23:/wolnelektury/media/js/catalogue.js diff --git a/wolnelektury/media/js/catalogue.js b/wolnelektury/media/js/catalogue.js index c9d5457d2..187cfde5a 100644 --- a/wolnelektury/media/js/catalogue.js +++ b/wolnelektury/media/js/catalogue.js @@ -35,6 +35,15 @@ function() { $(this).css({background: '#FFF'}); } ); + $('.show-all-tags').click(function() { + $(this).parent().parent().fadeOut(function() { + $(this).next().fadeIn(); + }); + return false; + }); + + + $('#registration-form').ajaxForm({ dataType: 'json', beforeSubmit: function() { @@ -138,7 +147,6 @@ $('.delete-shelf').click(function() { var link = $(this); var shelf_name = $('.visit-shelf', link.parent()).text(); - console.log(shelf_name); if (confirm('Czy na pewno usunąć półkę ' + shelf_name + '?')) { $.post(link.attr('href'), function(data, textStatus) { link.parent().remove();