X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=js%2FpageMinichat%2FpageMinichat.js;h=032ce4151b986d43b0509ba35ef910d7fe01ad30;hb=7ea77e03a1191ed84719ec018635cbe4a1b44259;hp=7aeb1589be0dc42c4ce17819408bc044a73654c1;hpb=7e471788d9356b1cb8659513674df9a883101807;p=euphorik.git
diff --git a/js/pageMinichat/pageMinichat.js b/js/pageMinichat/pageMinichat.js
index 7aeb158..032ce41 100755
--- a/js/pageMinichat/pageMinichat.js
+++ b/js/pageMinichat/pageMinichat.js
@@ -15,38 +15,36 @@
//
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see .
-
-/*jslint laxbreak:true */
+
+/*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.util = util;
+ 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
this.envoieMessageEnCours = false;
-
- this.regexMessageTagMatch = /\{.*?\}>/g;
- this.regexMessageTagReplace = /^(.*?\{.*?\}>)*/;
};
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'
- var formulaireXHTML = '' +
+ // le fait que tout soit collé est fait exprès, permet d'éviter d'avoir des espaces supplémentaires entre les spans
+ var formulaireXHTML = '' +
'
';
+ '';
var trollXHTML = '