Merge branch 'master' of https://github.com/AmauriC/tarteaucitron.js
This commit is contained in:
commit
bd0816badf
|
|
@ -715,6 +715,14 @@ var tarteaucitron = {
|
||||||
tarteaucitron.userInterface.css('tarteaucitronNoServicesTitle', 'display', 'none');
|
tarteaucitron.userInterface.css('tarteaucitronNoServicesTitle', 'display', 'none');
|
||||||
|
|
||||||
tarteaucitron.userInterface.order(service.type);
|
tarteaucitron.userInterface.order(service.type);
|
||||||
|
|
||||||
|
tarteaucitron.addClickEventToId(service.key + 'Allowed', function () {
|
||||||
|
tarteaucitron.userInterface.respond(this, true);
|
||||||
|
});
|
||||||
|
|
||||||
|
tarteaucitron.addClickEventToId(service.key + 'Denied', function () {
|
||||||
|
tarteaucitron.userInterface.respond(this, false);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
tarteaucitron.pro('!' + service.key + '=' + isAllowed);
|
tarteaucitron.pro('!' + service.key + '=' + isAllowed);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue