Fixed js bug with submit buttons in restore and reset password forms

This commit is contained in:
Dmitriy Simushev 2012-01-27 18:09:47 +00:00
parent 743ebfb9de
commit 4ae2ea9a65
2 changed files with 6 additions and 6 deletions

View File

@ -86,11 +86,11 @@ require_once('inc_errors.php');
<div class="fbutton">
<table class="submitbutton"><tr>
<td><a href="javascript:resetForm.submit();">
<td><a href="javascript:document.resetForm.submit();">
<img src='<?php echo $webimroot ?>/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
<td class="submit"><a href="javascript:resetForm.submit();">
<td class="submit"><a href="javascript:document.resetForm.submit();">
<?php echo getlocal("resetpwd.submit") ?></a></td>
<td><a href="javascript:resetForm.submit();">
<td><a href="javascript:document.resetForm.submit();">
<img src='<?php echo $webimroot ?>/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
</tr></table>

View File

@ -74,11 +74,11 @@ require_once('inc_errors.php');
<div class="fbutton">
<table class="submitbutton"><tr>
<td><a href="javascript:restoreForm.submit();">
<td><a href="javascript:document.restoreForm.submit();">
<img src='<?php echo $webimroot ?>/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
<td class="submit"><a href="javascript:restoreForm.submit();">
<td class="submit"><a href="javascript:document.restoreForm.submit();">
<?php echo getlocal("restore.submit") ?></a></td>
<td><a href="javascript:restoreForm.submit();">
<td><a href="javascript:document.restoreForm.submit();">
<img src='<?php echo $webimroot ?>/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
</tr></table>