Révision 1453fab5
Ajouté par Jérôme Schneider il y a plus de 9 ans
mandaye/static/js/toolbar.js | ||
---|---|---|
38 | 38 |
|
39 | 39 |
httpReq.open('GET', url); |
40 | 40 |
httpReq.send(); |
41 |
}; |
|
42 |
|
|
41 |
} |
|
42 |
|
|
43 |
function disassociate_logout(account, id) |
|
44 |
{ |
|
45 |
var r = confirm("Etes-vous sûr de vouloir désassocier le compte " + account + " ?"); |
|
46 |
if (r == true) |
|
47 |
{ |
|
48 |
window.location = "${urls['disassociate_url']}?id=" + id + "&logout=1"; |
|
49 |
} |
|
50 |
} |
|
43 | 51 |
|
44 | 52 |
res = load('/mandaye/toolbar', function(response) { |
45 | 53 |
var body = document.body || document.getElementsByTagName('body')[0]; |
Formats disponibles : Unified diff
toolbar js: add disassociate confirmation