N°3184 - Upgrade JQuery UI (iTop 2.8)

This commit is contained in:
acognet
2020-08-28 14:17:44 +02:00
parent 432a565221
commit cc6ab8a7b7
10 changed files with 20 additions and 10 deletions

View File

@@ -226,7 +226,9 @@ function ReportFieldValidationStatus(sFieldId, sFormId, bValid, sExplain)
$('#v_'+sFieldId).tooltip({
items: 'span',
tooltipClass: 'form_field_error',
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'
}