fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrated to new Google Analytics code.
[wolnelektury.git]
/
wolnelektury
/
media
/
js
/
catalogue.js
diff --git
a/wolnelektury/media/js/catalogue.js
b/wolnelektury/media/js/catalogue.js
index
857849d
..
f86788b
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,14
@@
});
}
});
});
}
});
+
+ $('a.remove-from-shelf').click(function(event) {
+ event.preventDefault();
+ link = $(this);
+ $.post(link.attr('href'), function(data, textStatus) {
+ link.parent().remove();
+ });
+ });
});
})(jQuery)
\ No newline at end of file
});
})(jQuery)
\ No newline at end of file