mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11556] Load apply_onkeypress_event() correctly
PHPBB3-11556
This commit is contained in:
parent
a2a6357fd5
commit
c29257f732
3 changed files with 2 additions and 11 deletions
|
@ -383,3 +383,5 @@ function apply_onkeypress_event() {
|
|||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
jQuery(document).ready(apply_onkeypress_event);
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
onload_functions.push(apply_onkeypress_event);
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
<fieldset class="fields1">
|
||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||
|
||||
|
|
|
@ -10,11 +10,6 @@
|
|||
document.forms['register'].change_lang.value = lang_iso;
|
||||
document.forms['register'].submit.click();
|
||||
}
|
||||
|
||||
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_REFRESH -->
|
||||
onload_functions.push(apply_onkeypress_event);
|
||||
<!-- ENDIF -->
|
||||
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue