[Phpfreechat-svn] SF.net SVN: phpfreechat: [476] trunk/themes/default/templates/pfcclient.js.tpl.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-04-26 17:48:37
|
Revision: 476 Author: kerphi Date: 2006-04-26 10:48:32 -0700 (Wed, 26 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=476&view=rev Log Message: ----------- Bug fix: It seems there is a little bug with the icon before my name in the user box (user.gif instead of user-me.gif). When I enter the channel the first time, I have a user.gif icon before my name, if I refresh the windows I have the normal user-me.gif icon.... It seems that the test does not work the first time. (thx to nemako for the bug report) Modified Paths: -------------- trunk/themes/default/templates/pfcclient.js.tpl.php Modified: trunk/themes/default/templates/pfcclient.js.tpl.php =================================================================== --- trunk/themes/default/templates/pfcclient.js.tpl.php 2006-04-26 17:32:59 UTC (rev 475) +++ trunk/themes/default/templates/pfcclient.js.tpl.php 2006-04-26 17:48:32 UTC (rev 476) @@ -262,9 +262,11 @@ echo "this.sendRequest('/privmsg', '".addslashes($pv["name"])."');\n"; ?> } + if (resp == "ok" || resp == "notchanged" || resp == "changed" || resp == "connected") { this.el_handle.value = param; + this.nickname = param; } else if (resp == "isused") { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |