From 2ba96b6a2ff79921279e5a1214b0171df5373f0c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sat, 14 Sep 2013 18:01:35 +0200 Subject: [PATCH] make async ajax calls --- public/templates/test/dashboard/gauges.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/public/templates/test/dashboard/gauges.tpl b/public/templates/test/dashboard/gauges.tpl index 2a37e2f3..60a397c3 100644 --- a/public/templates/test/dashboard/gauges.tpl +++ b/public/templates/test/dashboard/gauges.tpl @@ -63,7 +63,6 @@ window.onload = function(){ $.ajax({ url: '{/literal}{$smarty.server.PHP_SELF}?page=api&action=getdashboarddata&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}', dataType: 'json', - async: false, success: function (data) { g1.refresh(parseFloat(data.getdashboarddata.network.hashrate).toFixed(2)); g2.refresh(parseFloat(data.getdashboarddata.pool.hashrate).toFixed(2));