From 18d909c05d125300bed235abf1be41d169eb6bc6 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Wed, 9 Oct 2013 09:55:17 +0200 Subject: [PATCH] // Add cache control to ajax request for ipad --- .../controllers/countries/helpers/list/list_footer.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl index c567089e1..df4209c7f 100644 --- a/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl @@ -89,7 +89,8 @@ { $.ajax({ type: 'POST', - url: 'ajax.php', + headers: { "cache-control": "no-cache" }, + url: 'ajax.php?rand=' + new Date().getTime(), data: 'getZones=true&token={$token}', async : true, cache: false,