Javascript and image file for "untrack document" feature.

- Legacy-Id: 8131
This commit is contained in:
Shane Kerr 2014-07-19 19:45:37 +00:00
parent 4d71417817
commit c8c3b04643
2 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

View file

@ -80,6 +80,22 @@ $(function () {
});
});
$('.search-results .removefromlist a').click(function(e) {
e.preventDefault();
var trigger = $(this);
$.ajax({
url: trigger.attr('href'),
type: 'POST',
cache: false,
dataType: 'json',
success: function(response){
if (response.success) {
trigger.replaceWith('removed');
}
}
});
});
$("a.ballot-icon").click(function (e) {
e.preventDefault();