diff options
Diffstat (limited to 'static/functions/browse.js')
-rw-r--r-- | static/functions/browse.js | 7 |
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 |