Project

General

Profile

« Previous | Next » 

Revision 1261

Added by Dietmar almost 15 years ago

fix login_form.php sometimes produce javascript errors in IE

View differences:

branches/2.8.x/CHANGELOG
12 12
 
13 13
------------------------------------- 2.8.1 -------------------------------------
14 14
21-Jan-2010 Dietmar Woellbrink (Luisehahne)
15
#	fix login_form.php sometimes produce javascript errors in IE
16
21-Jan-2010 Dietmar Woellbrink (Luisehahne)
15 17
#	fix more small css-errors in WB Backend (thanks to Ruebenwurzel)
16 18
21-Jan-2010 Dietmar Woellbrink (Luisehahne)
17 19
!	update header info
branches/2.8.x/wb/admin/interface/version.php
55 55

  
56 56
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
57 57
if(!defined('VERSION')) define('VERSION', '2.8.1');
58
if(!defined('REVISION')) define('REVISION', '1260');
58
if(!defined('REVISION')) define('REVISION', '1261');
59 59

  
60 60
?>
branches/2.8.x/wb/account/login_form.php
56 56
	<td style="width:100px"><?php echo $TEXT['USERNAME']; ?>:</td>
57 57
	<td class="value_input">
58 58
		<input type="text" name="<?php echo $username_fieldname; ?>" maxlength="30" style="width:220px;"/>
59
		<script type="text/javascript">
60
		document.login.<?php echo $username_fieldname; ?>.focus();
61
		</script>
59
    	<script type="text/javascript">
60
    	// document.login.<?php echo $username_fieldname; ?>.focus();
61
    	var ref= document.getElementById("<?php echo $username_fieldname; ?>");
62
    	if (ref) ref.focus();
63
    	</script>
62 64
	</td>
63 65
</tr>
64 66
<tr>

Also available in: Unified diff