[bugs] [Bug 984] New - Javascript error

bugs@bugs.horde.org bugs@bugs.horde.org
Fri, 21 Jun 2002 14:08:21 -0300


http://bugs.horde.org/show_bug.cgi?id=984

*** shadow/984	Fri Jun 21 14:08:21 2002
--- shadow/984.tmp.7617	Fri Jun 21 14:08:21 2002
***************
*** 0 ****
--- 1,26 ----
+ Bug#: 984
+ Product: Horde
+ Version: other
+ Platform: MSIE 5
+ OS/Version: Windows NT
+ Status: NEW   
+ Resolution: 
+ Severity: trivial
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: joel.caplin@arenatek.com               
+ URL: /horde/imp/index.php
+ Summary: Javascript error
+ 
+ When IMP is configured to allow the user to change mail-server but *NOT* port, 
+ the javascript call to "updatePort()" (found in .../templates/login/login.inc) 
+ errors: that function has not been included in the file because change_port is 
+ set to false.
+ 
+ I have rectified the problem on my installation simply by removing <?php if 
+ ($conf['server']['change_port']):  ?> and the corresponding endif, from the 
+ code.
+ 
+ If you require any more information, let me know!