mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
egw tooltips aren't supported in nextmatch rows, so set field title for custom field list when not shown as separate column. Also set data attributes, if anyone wants to try some fancy styling.
This commit is contained in:
parent
ab8cc893f7
commit
b6cf2762c3
@ -213,6 +213,12 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
||||
if(this._type == 'customfields-list') {
|
||||
// No label, cust widget
|
||||
attrs.readonly = true;
|
||||
// Widget tooltips don't work in nextmatch because of the creation / binding separation
|
||||
// Set title to field label so browser will show something
|
||||
// Add field label & help as data attribute to row, so it can be stylied with CSS (title should be disabled)
|
||||
row.attr('title', field.label);
|
||||
row.attr('data-label', field.label);
|
||||
row.attr('data-help', field.help);
|
||||
this.detachedNodes.push(cf[0]);
|
||||
} else {
|
||||
// Label in first column, widget in 2nd
|
||||
|
Loading…
Reference in New Issue
Block a user