From f862dbbb936c003e0f6ce28ae0062428db30b8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Pu=C5=A1nik?= Date: Mon, 12 Oct 2015 18:23:33 +0200 Subject: show basic user statistics on profile page --- js/codeq/comms.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/codeq/comms.js') 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}); }, -- cgit v1.2.1