[Phpfreechat-svn] SF.net SVN: phpfreechat: [1045] trunk/data/public/js/pfcclient.js
Status: Beta
Brought to you by:
kerphi
|
From: <ke...@us...> - 2007-06-30 21:07:28
|
Revision: 1045
http://svn.sourceforge.net/phpfreechat/?rev=1045&view=rev
Author: kerphi
Date: 2007-06-30 14:07:30 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
Bug fix: clicking on the nick in the chat area was broken in IE6 (thanks to onslo)
Bug fix : cliquer sur les pseudonymes dans la zone du chat provoquait une erreur dans IE6 (merci ?\195?\160 onslo)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2007-06-30 20:43:19 UTC (rev 1044)
+++ trunk/data/public/js/pfcclient.js 2007-06-30 21:07:30 UTC (rev 1045)
@@ -1550,11 +1550,10 @@
if (document.selection && document.selection.createRange)
{
msgfield.focus();
- sel = document.selection.createRange();
- var text = sel.text;
+ pfcp.sel = document.selection.createRange();
+ var text = pfcp.sel.text;
if (text == "" && promptifselempty)
{
- pfcp.sel = document.selection.createRange();
pfcp.prompt(this.res.getLabel('Enter the text to format'), '');
pfcp.focus();
}
@@ -1594,7 +1593,6 @@
var promptifselempty = pfcp.promptifselempty;
var msgfield = pfcp.msgfield;
var sel = pfcp.sel;
-
// IE support
if (document.selection && document.selection.createRange)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|