N°4667 - Remove call to tooltip function

This commit is contained in:
acognet
2022-01-21 11:11:21 +01:00
parent d005ff0099
commit 910638d93f
15 changed files with 34 additions and 72 deletions

View File

@@ -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'
}
});
}
}
}