X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/25881fff0322a55a8c0869557e966afb9c02beb9..88a1cd8bdc3da0baf43aa8c3f4f6095af5282348:/wolnelektury/media/js/catalogue.js?ds=sidebyside 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();