Commit 78e20bfc by Ari Agung Prasetiyo

Update pcpd_pajak.pt

1 parent 7f60d19d
...@@ -492,21 +492,25 @@ ...@@ -492,21 +492,25 @@
addData(pieChart, newData.pie); addData(pieChart, newData.pie);
trendChart(); trendChart();
tableRefresh(); tableRefresh();
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
} else { } else {
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 60000);
console.log("Request failed."); console.log("Request failed.");
} }
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
}).fail(function () { }).fail(function () {
setTimeout(function () { setTimeout(function () {
console.log("timeout"); console.log("timeout");
$().datarefresh(); $().datarefresh();
}, 300000); }, 60000);
}); });
} }
</script> </script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!