Showing artist and director name on book detail pages.
[wolnelektury.git] / wolnelektury / media / js / catalogue.js
index 857849d..1dbd1b9 100644 (file)
             return false;
         });
         
+        $('.hide-all-tags').click(function() {
+           $(this).parent().parent().fadeOut(function() {
+               $(this).prev().fadeIn();
+           });
+           return false; 
+        });
+        
         $('#registration-form').ajaxForm({
             dataType: 'json',
             beforeSubmit: function() {
                 });
             }
         });
-
+        
+        $('a.remove-from-shelf').click(function(event) {
+            event.preventDefault();
+            link = $(this);
+            $.post(link.attr('href'), function(data, textStatus) {
+                link.parent().remove();
+            });
+        });
+        
+        $('#user-info').show();
     });
 })(jQuery)
\ No newline at end of file