Update the cookie number in the control panel when a cookie is deleted

This commit is contained in:
Amauri CHAMPEAUX 2015-05-29 16:10:37 +02:00
parent 493be4941b
commit 0b89364c41
1 changed files with 4 additions and 0 deletions

View File

@ -981,6 +981,10 @@ var tarteaucitron = {
if (document.getElementById('tarteaucitronCookiesNumberBis') !== null) {
document.getElementById('tarteaucitronCookiesNumberBis').innerHTML = nb + ' cookie' + s;
}
for (i = 0; i < tarteaucitron.job.length; i += 1) {
tarteaucitron.cookie.checkCount(tarteaucitron.job[i]);
}
}
},
"getLanguage": function () {