// Add cache control to ajax request for ipad

This commit is contained in:
Jerome Nadaud committed 2013-10-09 09:55:17 +02:00
1 parent d448891065
commit 18d909c05d
1 file changed
+2 -1
@@ -89,7 +89,8 @@
{ {
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
url: 'ajax.php', headers: { "cache-control": "no-cache" },
url: 'ajax.php?rand=' + new Date().getTime(),
data: 'getZones=true&token={$token}', data: 'getZones=true&token={$token}',
async : true, async : true,
cache: false, cache: false,