[Phpfreechat-svn] SF.net SVN: phpfreechat: [1126] trunk/data/public/js
Status: Beta
Brought to you by:
kerphi
From: <gpi...@us...> - 2007-08-16 13:04:46
|
Revision: 1126 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1126&view=rev Author: gpinzone Date: 2007-08-16 06:04:48 -0700 (Thu, 16 Aug 2007) Log Message: ----------- Minor documentation updates. No change in functionality. Modified Paths: -------------- trunk/data/public/js/pfcclient.js trunk/data/public/js/pfcprompt.js Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2007-08-15 19:35:55 UTC (rev 1125) +++ trunk/data/public/js/pfcclient.js 2007-08-16 13:04:48 UTC (rev 1126) @@ -31,7 +31,6 @@ // this array contains all the sent commands // use the up and down arrow key to navigate through the history - // may not work in Safari 1.3 this.cmdhistory = Array(); this.cmdhistoryid = -1; this.cmdhistoryissearching = false; @@ -1071,6 +1070,8 @@ // supports the Gecko selection model. However, these values may be // useful for debugging. Also, Opera recognizes Gecko and IE range // commands, so we need to ensure Opera only uses the Gecko model. + /* WARNING: Do not use this for textareas. They require a more + complex algorithm. */ if (obj.setSelectionRange) { obj.selStart = obj.selectionStart; @@ -1141,7 +1142,6 @@ /** * insert a smiley - * TODO: Merge functionality into "insert_text" function and eliminate. */ insertSmiley: function(smiley) { Modified: trunk/data/public/js/pfcprompt.js =================================================================== --- trunk/data/public/js/pfcprompt.js 2007-08-15 19:35:55 UTC (rev 1125) +++ trunk/data/public/js/pfcprompt.js 2007-08-16 13:04:48 UTC (rev 1126) @@ -119,7 +119,7 @@ { // _doSubmit is called when the user enters or cancels the box. var val = this.prompt_field.value; - if (is_gecko) this.box.focus(); // test is_ff because it doesn't work on KHTML browser, the popup shows infinitly + if (is_gecko) this.box.focus(); // test is_gecko because it doesn't work on KHTML browser, the popup shows infinitly this.box.style.display = 'none'; // clear out the dialog box this.bgbox.style.display = 'none'; // clear out the screen this.prompt_field.value = ''; // clear out the text field This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |