X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageProfile.js;h=7bbe045a541a983bc54ef22e53897ab2037b05fd;hp=2ae3fb39d418cf2b940cb6cd3874c93f6ffae893;hb=5dc140390551c133ac5525725a86854ca69679af;hpb=eb44db02bab9c8b082201aa153dea8229432e894 diff --git a/js/pageProfile.js b/js/pageProfile.js index 2ae3fb3..7bbe045 100755 --- a/js/pageProfile.js +++ b/js/pageProfile.js @@ -17,7 +17,7 @@ // along with Euphorik. If not, see . euphorik.PageProfile = function(client, formater, util) { - this.nom = "profile"; + this.name = "profile"; this.client = client; this.formater = formater; @@ -64,7 +64,7 @@ euphorik.PageProfile.prototype.chargerProfile = function() { $("form#profile button").click( function() { - thisPage.client.nick = thisPage.formate.filtrerInputPseudo($("form#profile input.nick").val()); + thisPage.client.nick = thisPage.formate.formatNick($("form#profile input.nick").val()); thisPage.client.email = $("form#profile input.email").val(); thisPage.client.chatOrder = $("form#profile select#chatOrder option:selected").attr("value"); thisPage.client.nickFormat = $("form#profile select#affichagePseudo option:selected").attr("value");