X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageMinichat.js;h=19fadb06a11ac084e7faa2288f2265fd07c10fc3;hb=874434add86031d5f23991e78fb2072eac996458;hp=770fc42aedce1149973c845cb6c924b7f99aa291;hpb=4c8bece326d3f8f7d65faf7f80a19cf796fb46d1;p=euphorik.git diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 770fc42..19fadb0 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -9,8 +9,8 @@ // (at your option) any later version. // // Euphorik is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// but WITHOUT ANY WARRANTY; without even the implied warranty of // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License @@ -76,6 +76,8 @@ PageMinichat.prototype.charger = function() } ) } + + this.util.infoBulle("Ouvrir la conversation liée au troll de la semaine", $("#trollCourant")) // $("body").append("
") @@ -381,6 +383,13 @@ function Conversation(num, util, formateur, client) ' ) + this.util.infoBulle("Aller à la première page", $("#conversations #" + this.getId() + " .numPage")) + if (num != 0) + { + this.util.infoBulle("Créer un lien vers la conversation", $("#conversations #" + this.getId() + " .lien")) + this.util.infoBulle("Fermer la conversation", $("#conversations #" + this.getId() + " .fermer")) + } + // enlève la mise en évidence pour la conversation $("#conversations #" + this.getId()).hover( function(){}, @@ -544,9 +553,6 @@ Conversation.prototype.flush = function(funClickOuvrirConv) if (nbMessagesAffiche > this.nbMessageMax) $("#conversations #" + this.getId() + " .message").slice(this.nbMessageMax, nbMessagesAffiche).empty() - - //.filter(function(){ return parseInt($(this).attr("id").substr(4), 36) > thisConversation.idDernierMessageAffiche }) - var DOM = $(XHTML) DOM.each( function() @@ -599,6 +605,8 @@ Conversation.prototype.flush = function(funClickOuvrirConv) function(){} ) + thisConversation.util.infoBulle("Extraction de la conversation", $(".extraire", this)) + $(this).click( function(event) {