summaryrefslogtreecommitdiffstats
path: root/static/functions/browse.js
diff options
context:
space:
mode:
authorGit <git@what.cd>2012-06-05 08:00:11 +0000
committerGit <git@what.cd>2012-06-05 08:00:11 +0000
commit69455d2763e7d42bc6c1aec1a5a4380ae3d28bea (patch)
tree3df0a14f68644a3e054e6e2b7a389ce3c688ef4d /static/functions/browse.js
parent546ef00e5e4a2bc618b461a8fcb3d04ac5a1fca5 (diff)
downloadGazelle-69455d2763e7d42bc6c1aec1a5a4380ae3d28bea.zip
Gazelle-69455d2763e7d42bc6c1aec1a5a4380ae3d28bea.tar.gz
Gazelle-69455d2763e7d42bc6c1aec1a5a4380ae3d28bea.tar.bz2
Empty commit
Diffstat (limited to 'static/functions/browse.js')
-rw-r--r--static/functions/browse.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/static/functions/browse.js b/static/functions/browse.js
index caa3366..55afebc 100644
--- a/static/functions/browse.js
+++ b/static/functions/browse.js
@@ -186,3 +186,10 @@ function ToggleEditionRows() {
$('#edition_label').toggle();
$('#edition_catalogue').toggle();
}
+
+function check_private(TorrentID) {
+ $('#checkprivate-'+TorrentID).raw().innerHTML = "Checking...";
+ ajax.get('ajax.php?action=checkprivate&torrentid=' + TorrentID,function(response){
+ $('#checkprivate-'+TorrentID).raw().innerHTML = response;
+ });
+} \ No newline at end of file