diff options
author | raylu <raylu@mixpanel.com> | 2011-08-06 04:14:13 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-08-06 04:14:13 -0700 |
commit | 4639fcf237c9ba232dd4d8d826731cc33d678e8e (patch) | |
tree | 84aa0dd93095469c31816beb8f4174a488c8ca67 /static | |
parent | c96ff0fd7d0f8068dfdfd3689a372b9348f241b9 (diff) | |
download | audioaxis-4639fcf237c9ba232dd4d8d826731cc33d678e8e.tar.xz |
remove works
Diffstat (limited to 'static')
-rw-r--r-- | static/script.js | 12 |
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) { + } + ); +} |