mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
fix not set image (if it was set to "") and missing onclick attribute
thought some button click-handler are still not working
This commit is contained in:
parent
273fe9a28a
commit
ace84d7953
@ -3,7 +3,7 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
<template id="admin.acl.add" template="" lang="" group="0" version="1.9.001">
|
<template id="admin.acl.add" template="" lang="" group="0" version="1.9.001">
|
||||||
<buttononly statustext="Add" id="add" onclick='app.admin.acl({id:"add"},[{id:""}])'/>
|
<buttononly statustext="Add" id="add" onclick="app.admin.acl({id:'add'},[{id:''}])"/>
|
||||||
</template>
|
</template>
|
||||||
<template id="admin.acl.rows" template="" lang="" group="0" version="1.9.001">
|
<template id="admin.acl.rows" template="" lang="" group="0" version="1.9.001">
|
||||||
<grid width="100%">
|
<grid width="100%">
|
||||||
@ -70,4 +70,4 @@
|
|||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
</overlay>
|
</overlay>
|
@ -267,7 +267,7 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(typeof this.image == 'undefined')
|
if(!this.image)
|
||||||
{
|
{
|
||||||
for(const image in Et2Button.default_background_images)
|
for(const image in Et2Button.default_background_images)
|
||||||
{
|
{
|
||||||
@ -339,4 +339,4 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// @ts-ignore TypeScript is not recognizing that Et2Button is a LitElement
|
// @ts-ignore TypeScript is not recognizing that Et2Button is a LitElement
|
||||||
customElements.define("et2-button", Et2Button);
|
customElements.define("et2-button", Et2Button);
|
Loading…
x
Reference in New Issue
Block a user