summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-08-06 04:14:13 -0700
committerraylu <raylu@mixpanel.com>2011-08-06 04:14:13 -0700
commit4639fcf237c9ba232dd4d8d826731cc33d678e8e (patch)
tree84aa0dd93095469c31816beb8f4174a488c8ca67 /static
parentc96ff0fd7d0f8068dfdfd3689a372b9348f241b9 (diff)
downloadaudioaxis-4639fcf237c9ba232dd4d8d826731cc33d678e8e.tar.xz
remove works
Diffstat (limited to 'static')
-rw-r--r--static/script.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/static/script.js b/static/script.js
index a958a44..354e030 100644
--- a/static/script.js
+++ b/static/script.js
@@ -174,3 +174,15 @@ function add(id, title) {
}
);
}
+
+function remove(id) {
+ var user = $('#user').val();
+ params = {
+ 'pid': pid,
+ 'yid': id,
+ }
+ $.getJSON('/remove/', params,
+ function(data) {
+ }
+ );
+}