diff options
author | Ugnich Anton | 2014-07-09 14:57:58 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-07-09 14:57:58 +0700 |
commit | 7c9a7590f30873df16941057c59abdb4b8672836 (patch) | |
tree | 5e379532b670959ad3591015b741919ba60ee460 /web/scripts3.js | |
parent | 72b0f51fb006c8719219a58c3cab746cf766d2f7 (diff) |
Change message privacy
Diffstat (limited to 'web/scripts3.js')
-rw-r--r-- | web/scripts3.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/scripts3.js b/web/scripts3.js index e0a39fa4..9cb72a98 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -266,6 +266,14 @@ function setPopular(e,mid,popular) { return false; } +function setPrivacy(e,mid) { + $.ajax('http://api.juick.com/messages/set_privacy?mid='+mid+'&hash='+hash).done(function() { + var a=$(e).closest("article"); + a.append("<p>OK!</p>"); + }); + return false; +} + /******************************************************************************/ jQuery.fn.selectText = function(){ |