[Phpfreechat-svn] SF.net SVN: phpfreechat: [600] trunk/themes/default/templates/pfcclient.js.tpl.ph
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-16 15:10:01
|
Revision: 600 Author: kerphi Date: 2006-06-16 08:09:56 -0700 (Fri, 16 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=600&view=rev Log Message: ----------- code cleaning 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-06-16 14:45:47 UTC (rev 599) +++ trunk/themes/default/templates/pfcclient.js.tpl.php 2006-06-16 15:09:56 UTC (rev 600) @@ -332,29 +332,6 @@ if (resp == "ok") { } - else if (resp == "cmdtoplay") - { - if (param[0] == "privmsg2") - { - // do not open the same tab twice - // (it's not necessary to speak to the server if the tab is allready open) - // so we check if the wanted privmsg tab exists or not - var index = this.privmsgs.indexOf(param[1]); - if (index == -1) - { - // it doesn't exists, create it in the background - this.sendRequest("/"+param[0],param[1]); - } - } - else if (param[0] == "leave") - { - this.sendRequest("/"+param[0],param[1]); - } - else - this.sendRequest("/"+param[0],param[1]); - } - // else - // alert(cmd + "-"+resp+"-"+param); } else if (cmd == "rehash") { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |