mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01: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$ -->
|
||||
<overlay>
|
||||
<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 id="admin.acl.rows" template="" lang="" group="0" version="1.9.001">
|
||||
<grid width="100%">
|
||||
@ -70,4 +70,4 @@
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
</overlay>
|
||||
</overlay>
|
@ -267,7 +267,7 @@ export class Et2Button extends Et2InputWidget(SlotMixin(LionButton))
|
||||
return "";
|
||||
}
|
||||
|
||||
if(typeof this.image == 'undefined')
|
||||
if(!this.image)
|
||||
{
|
||||
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
|
||||
customElements.define("et2-button", Et2Button);
|
||||
customElements.define("et2-button", Et2Button);
|
Loading…
Reference in New Issue
Block a user