mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-22 00:32:16 +02:00
Align properly the 'validation_error' icon in forms.
SVN:trunk[990]
This commit is contained in:
@@ -167,7 +167,7 @@ function ReportFieldValidationStatus(sFieldId, sFormId, bValid)
|
||||
oFormErrors['input_'+sFormId] = sFieldId;
|
||||
}
|
||||
// Visual feedback
|
||||
$('#v_'+sFieldId).html('<img src="../images/validation_error.png" />');
|
||||
$('#v_'+sFieldId).html('<img src="../images/validation_error.png" style="vertical-align:middle"/>');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ function ValidatePasswordField(id, sFormId)
|
||||
oFormErrors['input_'+sFormId] = id;
|
||||
}
|
||||
// Visual feedback
|
||||
$('#v_'+id).html('<img src="../images/validation_error.png" />');
|
||||
$('#v_'+id).html('<img src="../images/validation_error.png" style="vertical-align:middle"/>');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user