aboutsummaryrefslogtreecommitdiff
path: root/web/scripts3.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/scripts3.js')
-rw-r--r--web/scripts3.js8
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(){