Added overwrite option to genslugs.py.
[wolnelektury.git] / wolnelektury / media / js / catalogue.js
index 839190f..187cfde 100644 (file)
@@ -39,6 +39,7 @@
             $(this).parent().parent().fadeOut(function() { 
                 $(this).next().fadeIn();
             });
+            return false;
         });
         
         
                 $('.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();