X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2Feuphorik.js;h=3503c7e81f6c2fef2af46a432f2b01954cd99b99;hb=2233e8f8760b118c3cacf541ef32ea456a8e1527;hp=3b17bf58cc98df397313e3a649c35100a4d49f27;hpb=0864f5fa5ccd1ce99e88c08d25a2f8ea18525d56;p=euphorik.git diff --git a/js/euphorik.js b/js/euphorik.js index 3b17bf5..3503c7e 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -40,7 +40,8 @@ var conf = { "kirby" : [/\[-kirby\]/g], "slurp" : [/\[-slurp\]/g], "agreed" : [/\[-agreed\]/g], - "dodo" : [/\[-dodo\]/g] + "dodo" : [/\[-dodo\]/g], + "bn" : [/\[-bn\]/g] } } @@ -425,6 +426,7 @@ Client.prototype.resetDonneesPersonnelles = function() this.nickFormat = "nick" this.pagePrincipale = 1 + this.ek_master = false // les conversations, une conversation est un objet possédant les attributs suivants : // - racine (entier) @@ -705,6 +707,7 @@ Client.prototype.chargerDonnees = function(data) // les conversations thisClient.conversations = data["conversations"] + thisClient.ek_master = data["ek_master"] } this.dernierMessageErreur = data["error_message"] } @@ -799,12 +802,7 @@ jQuery(document).ready( initialiserListeStyles(client) // TODO : pourquoi jQuery(document).unload ne fonctionne pas ? - jQuery(window).unload( - function() - { - client.flush(false) - } - ) + jQuery(window).unload(function(){client.flush(false)}) jQuery("#menu .minichat").click(function(){ pages.afficherPage("minichat") }) jQuery("#menu .profile").click(function(){ pages.afficherPage("profile") })