mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°4667 - Remove call to tooltip function
This commit is contained in:
@@ -236,21 +236,6 @@ function ReportFieldValidationStatus(sFieldId, sFormId, bValid, sExplain)
|
||||
{
|
||||
$('#v_'+sFieldId).html(sExplain);
|
||||
}
|
||||
//Avoid replacing exisiting tooltip for periodically checked element (like CKeditor fields)
|
||||
if($('#v_'+sFieldId).tooltip( "instance" ) === undefined)
|
||||
{
|
||||
// Visual feedback
|
||||
|
||||
$('#v_'+sFieldId).tooltip({
|
||||
items: 'span',
|
||||
classes: {
|
||||
"ui-tooltip": "form_field_error"
|
||||
},
|
||||
content: function() {
|
||||
return $(this).find('img').attr('data-tooltip'); // As opposed to the default 'content' handler, do not escape the contents of 'title'
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user