summaryrefslogtreecommitdiffstats
path: root/static/functions/notifications.js
diff options
context:
space:
mode:
authorNightOath <WhatNightOath@gmail.com>2011-03-28 15:21:28 +0100
committerNightOath <WhatNightOath@gmail.com>2011-03-28 15:21:28 +0100
commitff67a811d4dfbb34c9249e40d73f9a00930423e9 (patch)
tree9af54ef6e154afb0a6bfcacc85c55fa23ca8988b /static/functions/notifications.js
downloadGazelle-ff67a811d4dfbb34c9249e40d73f9a00930423e9.zip
Gazelle-ff67a811d4dfbb34c9249e40d73f9a00930423e9.tar.gz
Gazelle-ff67a811d4dfbb34c9249e40d73f9a00930423e9.tar.bz2
Initial import from revision 11440
Diffstat (limited to 'static/functions/notifications.js')
-rw-r--r--static/functions/notifications.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/static/functions/notifications.js b/static/functions/notifications.js
new file mode 100644
index 0000000..df3e4b1
--- /dev/null
+++ b/static/functions/notifications.js
@@ -0,0 +1,5 @@
+function Clear(torrentid) {
+ ajax.get("?action=notify_clearitem&torrentid=" + torrentid + "&auth=" + authkey, function() {
+ $("#torrent" + torrentid).remove();
+ });
+} \ No newline at end of file