Explorar o código

- Fixed bug #197: incorrect validation of textarea fields

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@673 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
e717a7784c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/cmdbabstract.class.inc.php

+ 1 - 1
application/cmdbabstract.class.inc.php

@@ -951,7 +951,7 @@ abstract class cmdbAbstractObject extends CMDBObject
 				break;
 				
 				case 'Text':
-					$aEventsList[] ='keypress';
+					$aEventsList[] ='keyup';
 					$aEventsList[] ='change';
 					$sHTMLValue = "<textarea class=\"resizable\" title=\"$sHelpText\" name=\"attr_{$sFieldPrefix}{$sAttCode}{$sNameSuffix}\" rows=\"8\" cols=\"40\" id=\"$iId\">$value</textarea>&nbsp;{$sValidationField}";
 				break;