summaryrefslogtreecommitdiff
path: root/templates/apps/stats/user.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-21 12:06:29 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-21 12:06:29 +0200
commit51d94fcb3d15250e5acecec8a425196adf248bcd (patch)
tree46bf49c34dba76a9298da87e04795046f082bbcf /templates/apps/stats/user.html
parentf8586ab224bc7a15c1530a9b81879d371e8ea114 (diff)
spinner
Diffstat (limited to 'templates/apps/stats/user.html')
-rw-r--r--templates/apps/stats/user.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/apps/stats/user.html b/templates/apps/stats/user.html
index debf2e3..f3bc96d 100644
--- a/templates/apps/stats/user.html
+++ b/templates/apps/stats/user.html
@@ -4,8 +4,8 @@
$.ajax({
url: '/api/stats/user/{{username}}',
method: 'GET',
- start: $('#graph').spin("large"),
- stop: $('#graph').spin(false),
+ start: function() { $('#graph').spin("large") },
+ stop: function() { $('#graph').spin(false) },
success: function (resp) {
var graph = $('#graph');
series = [{label: 'Meeting minutes for {{username}}',data: resp['data']}];