From 87387701c36de5fd6143234ecb2583291cd4d631 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 8 Mar 2018 17:14:38 +0100 Subject: [PATCH] Remove ajax cache --- adm/tabs/AdminDiscounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/tabs/AdminDiscounts.php b/adm/tabs/AdminDiscounts.php index b082df6f..d471536b 100755 --- a/adm/tabs/AdminDiscounts.php +++ b/adm/tabs/AdminDiscounts.php @@ -383,7 +383,7 @@ class AdminDiscounts extends AdminTab var filterValue = \''.(($value = (int)($this->getFieldValue($obj, 'id_customer'))) ? '0_'.$value : (($value = (int)($this->getFieldValue($obj, 'id_group'))) ? '1_'.$value : '')).'\'; if ($(\'#filter\').val()) filterValue = $(\'#filter\').val(); - + $.ajaxSetup({ cache: false }); $.getJSON("'.dirname($currentIndex).'/ajax.php",{ajaxDiscountCustomers:1,filter:filterValue}, function(obj) { var groups_length = obj.groups.length;