summaryrefslogtreecommitdiff
path: root/js/codeq/comms.js
diff options
context:
space:
mode:
authorMarko Pušnik <marko.pusnik@guru.si>2015-10-12 18:23:33 +0200
committerMarko Pušnik <marko.pusnik@guru.si>2015-10-12 18:23:33 +0200
commitf862dbbb936c003e0f6ce28ae0062428db30b8e5 (patch)
tree8ae8cf49ee279cc552d25b1ec8f9ff3f7af1e421 /js/codeq/comms.js
parent05fc111e65c93cc8f33051f0c0a8084a5c5debf1 (diff)
show basic user statistics on profile page
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r--js/codeq/comms.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js
index ab168ff..89813ee 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -382,6 +382,10 @@
return this.send({'action': 'change_password', 'password': newpassword});
},
+ 'getUserStat': function () {
+ return this.send({'action': 'user_stat'});
+ },
+
'updateSettings': function (new_settings){
return this.send({'action': 'update_settings', 'settings': new_settings});
},