bla
This commit is contained in:
parent
4dd1827ee7
commit
e3f4b5e9cf
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,7 @@ $("#login-button").click(function (e) {
|
|||
get_admin("prank");
|
||||
} else {
|
||||
show_page('#demande-page');
|
||||
updateDemandes();
|
||||
}
|
||||
} else {
|
||||
$('#error-message').empty();
|
||||
|
@ -100,6 +101,7 @@ $("#register-button").click(function (e) {
|
|||
get_admin("prank");
|
||||
} else {
|
||||
show_page('#demande-page');
|
||||
updateDemandes();
|
||||
}
|
||||
} else {
|
||||
$('#error-message-register').empty();
|
||||
|
@ -128,6 +130,7 @@ $("#register-button").click(function (e) {
|
|||
$("#prank-button").click(function () {
|
||||
if (localStorage.getItem('token')) {
|
||||
show_page('#demande-page');
|
||||
updateDemandes();
|
||||
}
|
||||
else {
|
||||
show_page('#login-page');
|
||||
|
@ -143,6 +146,7 @@ $("#logo").click(function () {
|
|||
}
|
||||
else {
|
||||
show_page('#demande-page');
|
||||
updateDemandes();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue