[Phpfreechat-svn] SF.net SVN: phpfreechat: [1051] trunk/data/public/js/pfcprompt.js
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-07-01 15:17:54
|
Revision: 1051 http://svn.sourceforge.net/phpfreechat/?rev=1051&view=rev Author: kerphi Date: 2007-07-01 08:17:56 -0700 (Sun, 01 Jul 2007) Log Message: ----------- The login box was broken on KHTML browsers Modified Paths: -------------- trunk/data/public/js/pfcprompt.js Modified: trunk/data/public/js/pfcprompt.js =================================================================== --- trunk/data/public/js/pfcprompt.js 2007-07-01 11:52:09 UTC (rev 1050) +++ trunk/data/public/js/pfcprompt.js 2007-07-01 15:17:56 UTC (rev 1051) @@ -119,7 +119,7 @@ { // _doSubmit is called when the user enters or cancels the box. var val = this.prompt_field.value; - this.box.focus(); + if (is_ff) this.box.focus(); // test is_ff 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. |