X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;ds=sidebyside;f=js%2FpageMinichat%2FpageMinichat.js;h=b71efeaac7ebae27438714ca5bb7f1c391d26e22;hb=33d893c91bd291a748d390881a21a68adb559298;hp=2283acbf20d56910fd39401545ec0f922d735b59;hpb=ed281cb4331777625994d23a6e424fb7c5b5d2c9;p=euphorik.git diff --git a/js/pageMinichat/pageMinichat.js b/js/pageMinichat/pageMinichat.js index 2283acb..b71efea 100755 --- a/js/pageMinichat/pageMinichat.js +++ b/js/pageMinichat/pageMinichat.js @@ -18,13 +18,14 @@ /*jslint laxbreak:true */ -euphorik.PageMinichat = function(client, formateur, util) { +euphorik.PageMinichat = function(client, formateur, util, communication) { this.nom = "minichat"; this.client = client; this.formateur = formateur; this.util = util; - this.commandes = new euphorik.Commandes(this.client); + this.communication = communication; + this.commandes = new euphorik.Commandes(this.client, this, this.util, this.formateur); // permet d'éviter d'envoyer plusieurs messages simultanément en pressant // rapidement sur "enter" par exemple @@ -35,12 +36,12 @@ euphorik.PageMinichat = function(client, formateur, util) { }; euphorik.PageMinichat.prototype.contenu = function() { - // le fait que tout soit collé est fait exprès, permet d'éviter d'avoir des espaces supplémentaires entre les spans' + // le fait que tout soit collé est fait exprès, permet d'éviter d'avoir des espaces supplémentaires entre les spans var formulaireXHTML = '' + '