mandayejs / mandayejs / mandaye / static / single.logout.js @ b073c80a
1 |
$(function(){ |
---|---|
2 |
if (typeof(mandaye_logout_locator) === 'undefined') |
3 |
return false; |
4 |
$(mandaye_logout_locator).click(function(event){ |
5 |
// if user is not authenticated on mandaye, don't launch slo
|
6 |
if ($('#mandaye-logon-url').find('a').attr('href') !== '/_mandaye/logout/'){ |
7 |
return false; |
8 |
}
|
9 |
$(mandaye_logout_locator).click(function(){ |
10 |
setTimeout(function(){ |
11 |
window.location.href = '/_mandaye/logout/'; |
12 |
}, 300); |
13 |
return false; |
14 |
});
|
15 |
});
|
- « Précédent
- 1
- …
- 3
- 4
- 5
- Suivant »