parent
c482e7bcaa
commit
6a71b970ce
|
|
@ -1023,16 +1023,16 @@ var tarteaucitron = {
|
|||
tarteaucitron.sendEvent(key + '_loaded');
|
||||
}
|
||||
var itemStatusElem = document.getElementById('tacCurrentStatus'+key);
|
||||
if(status == true){
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.allowed;
|
||||
tarteaucitron.sendEvent(key + '_allowed');
|
||||
}else{
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.disallowed;
|
||||
tarteaucitron.sendEvent(key + '_disallowed');
|
||||
}
|
||||
tarteaucitron.state[key] = status;
|
||||
tarteaucitron.cookie.create(key, status);
|
||||
tarteaucitron.userInterface.color(key, status);
|
||||
if (status == true) {
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.allowed;
|
||||
tarteaucitron.sendEvent(key + '_allowed');
|
||||
} else {
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.disallowed;
|
||||
tarteaucitron.sendEvent(key + '_disallowed');
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1071,16 +1071,16 @@ var tarteaucitron = {
|
|||
}
|
||||
}
|
||||
var itemStatusElem = document.getElementById('tacCurrentStatus'+key);
|
||||
if(status == true){
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.allowed;
|
||||
tarteaucitron.sendEvent(key + '_allowed');
|
||||
}else{
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.disallowed;
|
||||
tarteaucitron.sendEvent(key + '_disallowed');
|
||||
}
|
||||
tarteaucitron.state[key] = status;
|
||||
tarteaucitron.cookie.create(key, status);
|
||||
tarteaucitron.userInterface.color(key, status);
|
||||
if (status == true) {
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.allowed;
|
||||
tarteaucitron.sendEvent(key + '_allowed');
|
||||
} else {
|
||||
itemStatusElem.innerHTML = tarteaucitron.lang.disallowed;
|
||||
tarteaucitron.sendEvent(key + '_disallowed');
|
||||
}
|
||||
},
|
||||
"color": function (key, status) {
|
||||
"use strict";
|
||||
|
|
|
|||
Loading…
Reference in New Issue