forked from extern/egroupware
Fix image src not getting set
This commit is contained in:
parent
2ba299f876
commit
77a11cb5fe
@ -161,6 +161,7 @@ function send_template()
|
||||
if (!empty($attrs['image']) && (empty($attrs['background_image']) || $attrs['background_image'] === 'false'))
|
||||
{
|
||||
$tag = 'et2-image';
|
||||
$attrs['src'] = $attrs['image'];
|
||||
}
|
||||
// novalidation --> noValidation
|
||||
if (!empty($attrs['novalidation']) && in_array($attrs['novalidation'], ['true', '1'], true))
|
||||
|
@ -122,6 +122,11 @@ export class Et2Image extends Et2Widget(LitElement) implements et2_IDetachedDOM
|
||||
}
|
||||
}
|
||||
|
||||
get src()
|
||||
{
|
||||
return this.__src;
|
||||
}
|
||||
|
||||
_handleClick(_ev : MouseEvent) : boolean
|
||||
{
|
||||
if(this.href)
|
||||
|
Loading…
Reference in New Issue
Block a user