projects
/
euphorik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ed8e58f
)
FIX les outils de bannissement n'apparaissaient plus
author
Greg Burri
<greg.burri@gmail.com>
Thu, 10 Jul 2008 21:22:29 +0000
(21:22 +0000)
committer
Greg Burri
<greg.burri@gmail.com>
Thu, 10 Jul 2008 21:22:29 +0000
(21:22 +0000)
js/pageMinichat.js
patch
|
blob
|
history
diff --git
a/js/pageMinichat.js
b/js/pageMinichat.js
index
31c7e31
..
62f07f8
100755
(executable)
--- a/
js/pageMinichat.js
+++ b/
js/pageMinichat.js
@@
-749,7
+749,7
@@
Conversation.prototype.attacherEventsSurMessage = function(element)
function()
{
thisConversation.decolorerEntetes()
function()
{
thisConversation.decolorerEntetes()
- thisConversation.afficherConversation(
idMess
)
+ thisConversation.afficherConversation(
element
)
},
// quand on sort de l'entête du message la mise en évidence est enlevée
function()
},
// quand on sort de l'entête du message la mise en évidence est enlevée
function()
@@
-763,20
+763,20
@@
Conversation.prototype.attacherEventsSurMessage = function(element)
if (thisConversation.client.viewTimes)
$(".dateComplete", element).show()
else
if (thisConversation.client.viewTimes)
$(".dateComplete", element).show()
else
- $(".dateComplete",
idMess
).hide()
+ $(".dateComplete",
element
).hide()
- $("a[@rel*=lightbox]",
idMess
).lightBox()
+ $("a[@rel*=lightbox]",
element
).lightBox()
// les outils de bannissement (uniquement pour les ekMaster)
if (thisConversation.client.ekMaster)
// les outils de bannissement (uniquement pour les ekMaster)
if (thisConversation.client.ekMaster)
- $(".pseudo",
idMess
).hover(
+ $(".pseudo",
element
).hover(
function(e)
{
var userId = parseInt($(".id", this).text())
function(e)
{
var userId = parseInt($(".id", this).text())
- var
element
= $(this)
- var h =
element
.height()
- var offset =
element
.offset()
- thisConversation.util.outilsBan.css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(
element
.width() + 16 * 3 + 4 + 64).prependTo(this).show()
+ var
pseudo
= $(this)
+ var h =
pseudo
.height()
+ var offset =
pseudo
.offset()
+ thisConversation.util.outilsBan.css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(
pseudo
.width() + 16 * 3 + 4 + 64).prependTo(this).show()
$("img", thisConversation.util.outilsBan).unbind("click")
$("#slap", thisConversation.util.outilsBan).click(
function()
$("img", thisConversation.util.outilsBan).unbind("click")
$("#slap", thisConversation.util.outilsBan).click(
function()