fix historylog in calendar not shown

caused by multi-attributes use a vbox, who's constructor unset the readonly attribute
--> setting it again hard, as all widgets in historylog are r/o and without readonly select-boxes have no detached DOM interface
This commit is contained in:
ralf 2023-01-24 14:31:01 +01:00
parent 7518278948
commit 9fb153bbcc

View File

@ -435,7 +435,7 @@ export class et2_historylog extends et2_valueWidget implements et2_IDataProvider
for(let i in field)
{
let type = field[i];
const child_attrs = jQuery.extend({}, attrs);
const child_attrs = jQuery.extend({readonly: true}, attrs);
if(typeof type === 'object')
{
child_attrs['select_options'] = cleanSelectOptions(field[i]);