fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dopracowanie aplikacji django-sponsors.
[wolnelektury.git]
/
wolnelektury
/
media
/
js
/
catalogue.js
diff --git
a/wolnelektury/media/js/catalogue.js
b/wolnelektury/media/js/catalogue.js
index
857849d
..
1dbd1b9
100644
(file)
--- a/
wolnelektury/media/js/catalogue.js
+++ b/
wolnelektury/media/js/catalogue.js
@@
-42,6
+42,13
@@
return false;
});
return false;
});
+ $('.hide-all-tags').click(function() {
+ $(this).parent().parent().fadeOut(function() {
+ $(this).prev().fadeIn();
+ });
+ return false;
+ });
+
$('#registration-form').ajaxForm({
dataType: 'json',
beforeSubmit: function() {
$('#registration-form').ajaxForm({
dataType: 'json',
beforeSubmit: function() {
@@
-193,6
+200,15
@@
});
}
});
});
}
});
-
+
+ $('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
});
})(jQuery)
\ No newline at end of file