mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Implement csv max,display for custom field text length
This commit is contained in:
parent
3f003ea3fb
commit
c87a5d6806
@ -380,7 +380,13 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
||||
|
||||
field.type = 'textbox';
|
||||
attrs.rows = field.rows;
|
||||
attrs.size = field.len;
|
||||
|
||||
if(field.len)
|
||||
{
|
||||
var size = field.len.split(',');
|
||||
attrs.maxlength = size[0];
|
||||
attrs.size = size.length > 1 ? size[1] : size[0];
|
||||
}
|
||||
return true;
|
||||
},
|
||||
_setup_select: function(field_name, field, attrs) {
|
||||
|
Loading…
Reference in New Issue
Block a user