fix stalled legacy diff-widget

This commit is contained in:
ralf 2024-12-14 08:26:54 +01:00
parent 2563177c9d
commit d3f71bd5fc

View File

@ -196,6 +196,7 @@ export class et2_diff extends et2_valueWidget implements et2_IDetachedDOM
*/
setDetachedAttributes(_nodes, _values)
{
if (!_nodes) return;
this.div = _nodes[0];
if(typeof _values['label'] != 'undefined')
{
@ -207,4 +208,4 @@ export class et2_diff extends et2_valueWidget implements et2_IDetachedDOM
}
}
}
et2_register_widget(et2_diff, ["diff"]);
et2_register_widget(et2_diff, ["diff"]);