X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageProfile.js;h=b6920d2b7a070a9bbd6168b1bcb82c4db1057e14;hp=294dc3e52c0df2e39e3bf6b6937ca604f839e2f4;hb=4c8bece326d3f8f7d65faf7f80a19cf796fb46d1;hpb=b98387fc8196e8e30ca1c4812af57484322c3a21 diff --git a/js/pageProfile.js b/js/pageProfile.js index 294dc3e..b6920d2 100755 --- a/js/pageProfile.js +++ b/js/pageProfile.js @@ -93,9 +93,7 @@ PageProfile.prototype.chargerLogin = function() $("#page form#profile button").click( function() { - if(!thisPage.client.connexionLogin($("form#profile input.login").val(), thisPage.util.md5($("form#profile input.password").val()))) - thisPage.util.messageDialogue("Couple login/pass introuvable") - else + if(thisPage.client.connexionLogin($("form#profile input.login").val(), thisPage.util.md5($("form#profile input.password").val()))) { // TODO afficher un message "ok" thisPage.pages.afficherPage("minichat")