[Phpfreechat-svn] SF.net SVN: phpfreechat: [1103] trunk/data/public/js/pfcclient.js
Status: Beta
Brought to you by:
kerphi
From: <gpi...@us...> - 2007-08-08 22:15:04
|
Revision: 1103 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1103&view=rev Author: gpinzone Date: 2007-08-08 15:15:04 -0700 (Wed, 08 Aug 2007) Log Message: ----------- Fixed Firefox bug introduced in last commit. Should not cause issues on Mac Firefox since "evt.which" takes precedence. Modified Paths: -------------- trunk/data/public/js/pfcclient.js Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2007-08-08 22:01:19 UTC (rev 1102) +++ trunk/data/public/js/pfcclient.js 2007-08-08 22:15:04 UTC (rev 1103) @@ -630,7 +630,7 @@ { return this.doSendMessage(); } - else if (code == 38 && is_ff || code == 63232 && is_safari) // up arrow key + else if (code == 63232 && is_safari) // up arrow key { // write the last command in the history if (this.cmdhistory.length>0) @@ -644,7 +644,7 @@ w.value = this.cmdhistory[this.cmdhistoryid]; } } - else if (code == 40 && is_ff || code == 63233 && is_safari) // down arrow key + else if (code == 63233 && is_safari) // down arrow key { // write the next command in the history if (this.cmdhistory.length>0) @@ -680,7 +680,7 @@ this.completeNick(); return false; /* do not leave the tab key default behavior */ } - else if (code == 38 && (is_ie || is_khtml || is_opera)) // up arrow key + else if (code == 38 && (is_ff || is_ie || is_khtml || is_opera)) // up arrow key { // write the last command in the history if (this.cmdhistory.length>0) @@ -694,7 +694,7 @@ w.value = this.cmdhistory[this.cmdhistoryid]; } } - else if (code == 40 && (is_ie || is_khtml || is_opera)) // down arrow key + else if (code == 40 && (is_ff || is_ie || is_khtml || is_opera)) // down arrow key { // write the next command in the history if (this.cmdhistory.length>0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |