From 4df57f612eb58204c3314e26d97098fcd2aafb2c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sat, 14 Sep 2013 18:00:43 +0200 Subject: [PATCH] make async ajax calls --- public/templates/test/dashboard/graph.tpl | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/templates/test/dashboard/graph.tpl b/public/templates/test/dashboard/graph.tpl index ec6275f8..feaa3a80 100644 --- a/public/templates/test/dashboard/graph.tpl +++ b/public/templates/test/dashboard/graph.tpl @@ -24,9 +24,6 @@ $(document).ready(function(){ $.jqplot('hashrategraph', [storedData], options); setInterval(function() { $.ajax({ - // have to use synchronous here, else the function - // will return before the data is fetched - async: false, url: url, dataType: "json", success: function(data) {