mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
Avoid setting an empty default image
This commit is contained in:
parent
8e26062854
commit
c7549daa54
@ -185,7 +185,7 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
|
|||||||
if(!this.image)
|
if(!this.image)
|
||||||
{
|
{
|
||||||
let image = this._get_default_image(this._widget_id);
|
let image = this._get_default_image(this._widget_id);
|
||||||
if(image != this._image)
|
if(image && image != this._image)
|
||||||
{
|
{
|
||||||
this.image = image;
|
this.image = image;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user