mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 02:18:31 +02:00
Fix missing translation reported by Stefan Unverricht
This commit is contained in:
@ -154,13 +154,13 @@ var et2_customfields_list = /** @class */ (function (_super) {
|
||||
if (!field.type)
|
||||
field.type = 'text";';
|
||||
var setup_function = '_setup_' + (apps[field.type] ? 'link_entry' : field.type.replace("-", "_"));
|
||||
var attrs = {
|
||||
var attrs = jQuery.extend({}, this.options[field_name] ? this.options[field_name] : {}, {
|
||||
'id': id,
|
||||
'statustext': field.help,
|
||||
'needed': field.needed,
|
||||
'readonly': this.getArrayMgr("readonlys").isReadOnly(id, null, this.options.readonly),
|
||||
'value': this.options.value[et2_customfields_list.PREFIX + field_name]
|
||||
};
|
||||
});
|
||||
// Can't have a required readonly, it will warn & be removed later, so avoid the warning
|
||||
if (attrs.readonly === true)
|
||||
delete attrs.needed;
|
||||
|
Reference in New Issue
Block a user