|
@@ -32,8 +32,10 @@ $(document).ready(function() {
|
|
})
|
|
})
|
|
.done(function( msg ) {
|
|
.done(function( msg ) {
|
|
if( msg == "OK" ) {
|
|
if( msg == "OK" ) {
|
|
- alertify.success("Torrent deleted !");
|
|
|
|
- obj.parent().parent().remove();
|
|
|
|
|
|
+ obj.parent().parent().fadeOut("slow", function(){
|
|
|
|
+ alertify.success("Torrent deleted !");
|
|
|
|
+ obj.parent().parent().remove();
|
|
|
|
+ });
|
|
} else {
|
|
} else {
|
|
alertify.error("There is an error, I can't delete this torrent :(");
|
|
alertify.error("There is an error, I can't delete this torrent :(");
|
|
}
|
|
}
|