correct name for var exclude

This commit is contained in:
Michael RICOIS 2012-06-11 12:35:01 +00:00
parent cdd951fd11
commit 27d8212a18

View File

@ -241,7 +241,7 @@ function set(key, value, ex)
$('#attente').css('display', 'block');
$('#panel').html('<img src="/themes/default/images/ajax.gif" />');
$.post('/comptage/index', { cle:key, valeur:value, exlcude:ex }, function(data, status) {
$.post('/comptage/index', { cle:key, valeur:value, exclude:ex }, function(data, status) {
var html = 'Nombre sélectionnées : <span class="valeur">'+data.count+'</span>';
if (data.insee>0) {
html = html + ' (dont <span class="valeur">'+data.insee +'</span> unité(s) insee)';