Remove ajax cache
This commit is contained in:
parent
eed8873dc5
commit
87387701c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user