Explorar el Código

checkCoppa onkeyup so that typing the other fields are enabled [Bug 4993]

Signed-off-by: emanuele <[email protected]>
emanuele hace 11 años
padre
commit
e27485e350
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Sources/ManageRegistration.php

+ 1 - 1
Sources/ManageRegistration.php

@@ -284,7 +284,7 @@ function ModifyRegistrationSettings($return_config = false)
 			array('check', 'notify_new_registration'),
 			array('check', 'send_welcomeEmail'),
 		'',
-			array('int', 'coppaAge', 'subtext' => $txt['setting_coppaAge_desc'], 'onchange' => 'checkCoppa();'),
+			array('int', 'coppaAge', 'subtext' => $txt['setting_coppaAge_desc'], 'onchange' => 'checkCoppa();', 'onkeyup' => 'checkCoppa();'),
 			array('select', 'coppaType', array($txt['setting_coppaType_reject'], $txt['setting_coppaType_approval']), 'onchange' => 'checkCoppa();'),
 			array('large_text', 'coppaPost', 'subtext' => $txt['setting_coppaPost_desc']),
 			array('text', 'coppaFax'),